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
item.e = {
stack: this.error.stack,
name: this.error.name
name: this.error.name,
message: this.error.message.split("\n")[0]
};
}
if (forced) {