console log when failing to restore queued items
This commit is contained in:
parent
b28eefb2db
commit
0ccf735148
1 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,9 @@ export class IDBLogger extends BaseLogger {
|
||||||
window.localStorage.removeItem(key);
|
window.localStorage.removeItem(key);
|
||||||
return JSON.parse(json);
|
return JSON.parse(json);
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (err) {
|
||||||
|
console.error("Could not load queued log items", err);
|
||||||
|
}
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue