Skip to content

Commit

Permalink
emitting of error in close listener removed
Browse files Browse the repository at this point in the history
  • Loading branch information
nivida committed Jan 9, 2020
1 parent 84e1296 commit 0252714
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/web3-providers-ws/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ WebsocketProvider.prototype._onClose = function (event) {
}

this.emit(this.CLOSE, event);
this.emit(this.ERROR, event);

if (this.requestQueue.size > 0) {
this.requestQueue.forEach(function (request, key) {
Expand Down

0 comments on commit 0252714

Please sign in to comment.