mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] ee3 error handling
This commit is contained in:
parent
4351ed1c86
commit
d23353d980
@ -96,6 +96,10 @@ function ProxyServer(options) {
|
||||
this.wsPasses = Object.keys(ws).map(function(pass) {
|
||||
return ws[pass];
|
||||
});
|
||||
|
||||
this.on('error', function(err) {
|
||||
console.log(err);
|
||||
});
|
||||
}
|
||||
|
||||
require('util').inherits(ProxyServer, EE3);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user