From 5cd65fca55c62baf143e68703c2cb3bbb3f54805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Wouts?= Date: Fri, 21 Jun 2024 00:17:19 +1000 Subject: [PATCH] fix: add missing message in error log --- core/src/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/router.ts b/core/src/router.ts index b931d6483f5..f8198f194f0 100644 --- a/core/src/router.ts +++ b/core/src/router.ts @@ -30,7 +30,7 @@ export class ApiRouter { response, }; } catch (e: any) { - this.logger.error(`RPC ${path} failed`, e); + this.logger.error(`RPC ${path} failed: ${e}`); return { kind: "error", message: e.message,