mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
console log when failing to restore queued items
This commit is contained in:
parent
b28eefb2db
commit
0ccf735148
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user