Skip to content

Commit 09dbd96

Browse files
committed
CCM-8574: log error cause
1 parent 4f1beaf commit 09dbd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils/src/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { combine, timestamp, json, errors } = winston.format;
44

55
export const logger = winston.createLogger({
66
level: 'info',
7-
format: combine(errors({ stack: true }), timestamp(), json()),
7+
format: combine(errors({ stack: true, cause: true }), timestamp(), json()),
88
transports: [
99
new winston.transports.Stream({
1010
stream: process.stdout,

0 commit comments

Comments
 (0)