Skip to content

Commit

Permalink
fix: fix error logging serialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Battlesquid committed Jul 12, 2024
1 parent 6255e7e commit 0240137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bot/command_logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 0240137

Please sign in to comment.