console log when failing to restore queued items

This commit is contained in:
Bruno Windels 2021-02-16 19:57:45 +01:00
parent b28eefb2db
commit 0ccf735148

View File

@ -93,7 +93,9 @@ export class IDBLogger extends BaseLogger {
window.localStorage.removeItem(key);
return JSON.parse(json);
}
} catch (e) {}
} catch (err) {
console.error("Could not load queued log items", err);
}
return [];
}