mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
also log error messages
This commit is contained in:
parent
5d55f6d78c
commit
1348611f9f
@ -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 New Issue
Block a user