From 1348611f9f29d9dfb806f3a04d381192cc923884 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 15 Mar 2021 17:18:45 +0100 Subject: [PATCH] also log error messages --- src/logging/LogItem.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logging/LogItem.js b/src/logging/LogItem.js index 28f02d8e..fcb88eff 100644 --- a/src/logging/LogItem.js +++ b/src/logging/LogItem.js @@ -140,7 +140,8 @@ export class LogItem { // (e)rror item.e = { stack: this.error.stack, - name: this.error.name + name: this.error.name, + message: this.error.message.split("\n")[0] }; } if (forced) {