Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2200 from matrix-org/bwindels/rageshakeerrorcode
Browse files Browse the repository at this point in the history
log correct error code when opening log idb
  • Loading branch information
dbkr authored Oct 9, 2018
2 parents 864c80c + 14b040e commit a16e92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rageshake/rageshake.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit a16e92e

Please sign in to comment.