mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
also log error messages
This commit is contained in:
parent
5d55f6d78c
commit
1348611f9f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user