Skip to content

Commit 573064b

Browse files
committed
Don't throw error when hitting a wrong request number (#976)
1 parent 1764ea6 commit 573064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Client extends Entity {
7373
this._sequenceNumberToCallbackMap.delete(sequenceNumber);
7474
callback(response.toPlainObject(this.typedArrayEnabled));
7575
} else {
76-
throw new Error(
76+
debug(
7777
`Client has received an unexpected ${this._serviceName} with sequence number ${sequenceNumber}.`
7878
);
7979
}

0 commit comments

Comments
 (0)