forked from mystiq/hydrogen-web
also log error messages
This commit is contained in:
parent
5d55f6d78c
commit
1348611f9f
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue