From f52d7165cf678092a796d3b3870be3f0b3c67ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20Sander?= Date: Sat, 14 May 2022 19:29:24 +0200 Subject: [PATCH] refactor: Enable better logging of errors to console Implements #434 --- src/globals.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/globals.js b/src/globals.js index 6e80d634..10129eb9 100644 --- a/src/globals.js +++ b/src/globals.js @@ -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(),