Scope log

This commit is contained in:
Eric Eastwood 2022-07-21 19:59:56 -05:00
parent b54e884b7e
commit 88e24703ff

View file

@ -80,7 +80,7 @@ export function openDatabase(name: string, createObjectStore: CreateObjectStore,
try {
await createObjectStore(db, txn, oldVersion, version);
} catch (err) {
console.error(`Failed to createObjectStore in database=${name}`, err);
console.error(`openDatabase: Failed to createObjectStore in database=${name}`, err);
// try aborting on error, if that hasn't been done already
try {
txn.abort();