Connection: reword timeout error message

fork
mscdex 11 years ago
parent 4729de2dab
commit 9625faab85

@ -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();

Loading…
Cancel
Save