Skip to content

Commit

Permalink
[fix] ee3 error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Jan 16, 2014
1 parent 4351ed1 commit d23353d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/http-proxy/index.js
Expand Up @@ -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);
Expand Down

0 comments on commit d23353d

Please sign in to comment.