diff --git a/lib/Connection.js b/lib/Connection.js index c7a94b3..fb5d86e 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -215,7 +215,7 @@ Connection.prototype.connect = function() { }); this._tmrConn = setTimeout(function() { - var err = new Error('Connection timed out'); + var err = new Error('Timed out while connecting to server'); err.source = 'timeout'; self.emit('error', err); socket.destroy();