Skip to content

Commit d23353d

Browse files
committed
[fix] ee3 error handling
1 parent 4351ed1 commit d23353d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/http-proxy/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ function ProxyServer(options) {
9696
this.wsPasses = Object.keys(ws).map(function(pass) {
9797
return ws[pass];
9898
});
99+
100+
this.on('error', function(err) {
101+
console.log(err);
102+
});
99103
}
100104

101105
require('util').inherits(ProxyServer, EE3);

0 commit comments

Comments
 (0)