mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-10-31 20:59:08 +00:00
Merge pull request #102 from aronwoost/patch-01
Emit socket errors, so they can be handled
This commit is contained in:
commit
4940043378
1 file changed
+5
@@ -88,6 +88,11 @@ Tunnel.prototype._establish = function(info) {
|
||||
self.emit('url', info.url);
|
||||
});
|
||||
|
||||
// re-emit socket error
|
||||
tunnels.on('error', function(err) {
|
||||
self.emit('error', err);
|
||||
});
|
||||
|
||||
var tunnel_count = 0;
|
||||
|
||||
// track open count
|
||||
|
||||
Reference in new issue
Block a user