also log error messages

This commit is contained in:
Bruno Windels 2021-03-15 17:18:45 +01:00
parent 5d55f6d78c
commit 1348611f9f

View File

@ -140,7 +140,8 @@ export class LogItem {
// (e)rror // (e)rror
item.e = { item.e = {
stack: this.error.stack, stack: this.error.stack,
name: this.error.name name: this.error.name,
message: this.error.message.split("\n")[0]
}; };
} }
if (forced) { if (forced) {