From 0240137c507ccfcdab4c5ecb64b33d244063521d Mon Sep 17 00:00:00 2001 From: Battlesquid <25509915+Battlesquid@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:46:03 -0700 Subject: [PATCH] fix: fix error logging serialization bug --- src/utils/bot/command_logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/bot/command_logger.ts b/src/utils/bot/command_logger.ts index ec75135..f6dc02c 100644 --- a/src/utils/bot/command_logger.ts +++ b/src/utils/bot/command_logger.ts @@ -25,6 +25,6 @@ export class CommandLogger { } public async error(content: string, error: unknown) { - this.logger.error({ error }, content); + this.logger.error({ err: error }, content); } }