don't emit ETIMEDOUT-errors

This commit is contained in:
David Björklund
2014-08-28 20:12:09 +02:00
parent 7b1fef982f
commit 4d9dcc1711

View File

@@ -83,7 +83,7 @@ TunnelCluster.prototype.open = function() {
if (err.code === 'ECONNREFUSED') {
self.emit('error', new Error('connection refused: ' + remote_host + ':' + remote_port + ' (check your firewall settings)'));
}
else {
else if (err.code !== 'ETIMEDOUT') {
self.emit('error', err);
}