diff --git a/src/router.ts b/src/router.ts index 2c5034e8..b221ec1f 100644 --- a/src/router.ts +++ b/src/router.ts @@ -79,7 +79,7 @@ export class Router { if (e instanceof JSONRPCError) { return { error: { code: e.code, message: e.message, data: e.data } }; } - return { error: { code: 6969, message: "unknown error" } }; + return { error: { code: 6969, message: e.message } }; } }