Skip to content

Commit 95a264d

Browse files
authoredMar 1, 2017
No unnecessary call
1 parent 4c2f2dd commit 95a264d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class Server extends events.EventEmitter {
154154
socket.on('error', (e) => {
155155
// ignore frequent ECONNRESET error (seems inevitable when refresh)
156156
if (e.code === 'ECONNRESET') return;
157-
this.error.call(this, e);
157+
this.error(e);
158158
});
159159

160160
client.once('info', (data) => {

0 commit comments

Comments
 (0)
Please sign in to comment.