Commit 34bde5f8 authored by Kulya's avatar Kulya 😊

Update index.js

parent bbf2402f
...@@ -39,7 +39,8 @@ class AgiServer extends EventEmitter { ...@@ -39,7 +39,8 @@ class AgiServer extends EventEmitter {
*/ */
init() { init() {
this.server.on('error', (err) => { this.server.on('error', (err) => {
this.emit('error', new Error('Internal TCP server error')); console.error("SOCK ERROR: ", err)
// this.emit('error', new Error('Internal TCP server error'));
}); });
this.server.on('close', () => this.emit('close')); this.server.on('close', () => this.emit('close'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment