Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
fix!: invalid JSON RPC internal error code (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawid-h authored May 29, 2020
1 parent ca56504 commit dd0a09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rpcServer/errorHandlerDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function errorHandlerDecorator(command, log) {
if (log && typeof log.error === 'function') {
log.error(e);
}
throw new RPCError(-32602, 'Internal error');
throw new RPCError(-32603, 'Internal error');
});
};
}
Expand Down

0 comments on commit dd0a09e

Please sign in to comment.