Closed wzr1337 closed 6 years ago
console.log, why not console.error?
Should be rather this.logger.error()
We must be aware of scope change when the handler is called... 'This' will point to the websocket itself
Be aware when you PR 😜 --
I guess TS supports .bind() to tame the this
beast ;-)
Go for it :D
Easy catch --
events.js:183 throw er; // Unhandled 'error' event ^
Error: read ECONNRESET at _errnoException (util.js:1024:11) at TCP.onread (net.js:615:25)