mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-17 15:35:57 +00:00
don't emit ETIMEDOUT-errors
This commit is contained in:
@@ -83,7 +83,7 @@ TunnelCluster.prototype.open = function() {
|
|||||||
if (err.code === 'ECONNREFUSED') {
|
if (err.code === 'ECONNREFUSED') {
|
||||||
self.emit('error', new Error('connection refused: ' + remote_host + ':' + remote_port + ' (check your firewall settings)'));
|
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);
|
self.emit('error', err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user