Merge pull request from matrix-org/bwindels/rageshakeerrorcode

log correct error code when opening log idb
This commit is contained in:
David Baker 2018-10-09 09:58:31 +01:00 committed by GitHub
commit a16e92e5e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));