Skip to content

Commit

Permalink
w3c-ws: emit missing error event
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Mar 2, 2017
1 parent fd28a42 commit cc3948c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/transport.ws.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ W3CWebSocketClient.prototype.connect = function(callback) {
if (callback) {
callback(error);
}
this.emit('error', error);
return;
}

Expand Down

0 comments on commit cc3948c

Please sign in to comment.