Skip to content

Commit 52d93f2

Browse files
committed
Fix RPC op detection, so unrecognized requests aren't shown in the list
1 parent 559f62e commit 52d93f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/api/jsonrpc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class JsonRpcApiExchange implements ApiExchange {
117117
}
118118

119119
matchedOperation(): boolean {
120-
return !!this._rpcMethod;
120+
return this._rpcMethod && !isErrorLike(this._rpcMethod);
121121
}
122122

123123
}

0 commit comments

Comments
 (0)