Merge pull request #2200 from matrix-org/bwindels/rageshakeerrorcode
log correct error code when opening log idb
This commit is contained in:
commit
a16e92e5e0
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