From 4d9dcc17112ad1792d7d239a3ea7eb4f538596e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Bjo=CC=88rklund?= Date: Thu, 28 Aug 2014 20:12:09 +0200 Subject: [PATCH] don't emit ETIMEDOUT-errors --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index c840826..beef84c 100644 --- a/client.js +++ b/client.js @@ -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); }