Skip to content

emit 'error' on `this` upon 'ECONNREFUSED' #77

wants to merge 1 commit into from

2 participants

guybrush commented Dec 2, 2011

this will not work, since the connection never gets established

// nothing is listening on 4444

in fact the 'refused' event will never be emitted, since attachDnode() will not be called because there wont be a stream-event 'connect' - right?

so i thought it would be best to this.emit('error',err)?

note: the readme would have to be updated too

@substack substack closed this Mar 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.