Skip to content

Commit

Permalink
fix: logger printf
Browse files Browse the repository at this point in the history
  • Loading branch information
0xkenj1 committed Jul 30, 2024
1 parent b684b8f commit 9658bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/shared/src/logger/logger.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as winston from "winston";
winston.format.colorize(),
winston.format.printf(
({ timestamp, level, message, stack }: Record<string, string>) => {
return `${timestamp} ${level}: ${stack || message}`;
return `${timestamp} ${level}: ${stack ?? message ?? ""}`;
},
),
),
Expand Down

0 comments on commit 9658bd7

Please sign in to comment.