Skip to content

Commit 08827c8

Browse files
committed
Use a better error message
Signed-off-by: Luis Mastrangelo <[email protected]>
1 parent f10e77f commit 08827c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/koaJsonRpc/lib/RpcResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function jsonRespResult(id: string | number | null, result: unknown): IJs
1919
}
2020

2121
if (result === undefined) {
22-
throw new Error('Missing result or error');
22+
throw new Error('Missing result');
2323
}
2424

2525
return { result, jsonrpc: '2.0', id };

0 commit comments

Comments
 (0)