mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
log correct error code when opening log idb
This commit is contained in:
parent
21cedbabf2
commit
14b040e6a6
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class IndexedDBLogStore {
|
|||
|
||||
req.onerror = (event) => {
|
||||
const err = (
|
||||
"Failed to open log database: " + event.target.errorCode
|
||||
"Failed to open log database: " + event.target.error.name
|
||||
);
|
||||
console.error(err);
|
||||
reject(new Error(err));
|
||||
|
|
Loading…
Reference in a new issue