HI, it seems the lib throws and exception if for instance the port is wrong
12 Oct 18:26:02 - Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:959:21)
at TLSSocket.g (events.js:199:16)
at TLSSocket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)
expected behavior would be to fail gracefully with an event
HI, it seems the lib throws and exception if for instance the port is wrong
12 Oct 18:26:02 - Error: socket hang up at TLSSocket.onHangUp (_tls_wrap.js:959:21) at TLSSocket.g (events.js:199:16) at TLSSocket.emit (events.js:129:20) at _stream_readable.js:908:16 at process._tickCallback (node.js:355:11)
expected behavior would be to fail gracefully with an event
cheers