Remove TODO from jsonrpc
This commit is contained in:
parent
9a156fea16
commit
7edbe354a9
@ -18,7 +18,6 @@ export function jsonrpc<Context>(
|
|||||||
|
|
||||||
const handleError: ErrorRequestHandler = (err, req, res, next) => {
|
const handleError: ErrorRequestHandler = (err, req, res, next) => {
|
||||||
logger.error('JSON-RPC Error: %s', err.stack)
|
logger.error('JSON-RPC Error: %s', err.stack)
|
||||||
// TODO log error
|
|
||||||
|
|
||||||
if (isJSONRPCError(err)) {
|
if (isJSONRPCError(err)) {
|
||||||
res.status(err.statusCode)
|
res.status(err.statusCode)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user