Skip to content

Commit ceddd87

Browse files
committed
(refactor) better pub seq error message
1 parent 4257e20 commit ceddd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/transports/ws2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class WSv2 extends EventEmitter {
326326
}
327327

328328
if (seq !== this._lastPubSeq + 1) { // check pub seq
329-
return new Error(`invalid seq #; last ${this._lastPubSeq}, got ${seq}`)
329+
return new Error(`invalid pub seq #; last ${this._lastPubSeq}, got ${seq}`)
330330
}
331331

332332
this._lastPubSeq = seq

0 commit comments

Comments
 (0)