Skip to content

Commit

Permalink
refactor: Enable better logging of errors to console
Browse files Browse the repository at this point in the history
Implements #434
  • Loading branch information
mountaindude committed May 14, 2022
1 parent 6bf8b0f commit f52d716
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ logTransports.push(
name: 'console',
level: config.get('Butler.logLevel'),
format: winston.format.combine(
winston.format.errors({ stack: true }),
winston.format.timestamp(),
winston.format.colorize(),
winston.format.simple(),
Expand Down

0 comments on commit f52d716

Please sign in to comment.