Skip to content

Commit 906985a

Browse files
committed
Fix wrong variable name
1 parent 2bb759f commit 906985a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transports/WebSocketTransport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class WebSocketTransport extends Transport {
3333
if (err) {
3434
const jsonError = err instanceof JSONRPCError
3535
? err
36-
: new JSONRPCError(e.message, ERR_UNKNOWN, err);
36+
: new JSONRPCError(err.message, ERR_UNKNOWN, err);
3737
this.transportRequestManager.settlePendingRequest(notifications, jsonError);
3838
this.transportRequestManager.settlePendingRequest(getBatchRequests(data), jsonError);
3939
prom = Promise.reject(jsonError);

0 commit comments

Comments
 (0)