dudleycarr/nsqjs — pull request #52 by bsphere (2014-12-28 08:52:46+00:00)
Title: invoke callback with an error if the connection is closed when publishin...

if the connection to NSQD was lost, publishing a message didn't return an error in the callback.

added a verification that the connection is also NOT closed when publishing a message.