mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-29 10:21:38 +02:00
Merge pull request #2200 from matrix-org/bwindels/rageshakeerrorcode
log correct error code when opening log idb
This commit is contained in:
commit
a16e92e5e0
@ -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…
x
Reference in New Issue
Block a user