log lack of persisted storage in ... persisted logs!

This commit is contained in:
Bruno Windels 2022-06-01 15:30:41 +02:00
parent 3edfbd2cf6
commit 83eef2be9d

View file

@ -67,7 +67,7 @@ export class StorageFactory {
requestPersistedStorage().then(persisted => {
// Firefox lies here though, and returns true even if the user denied the request
if (!persisted) {
console.warn("no persisted storage, database can be evicted by browser");
log.log("no persisted storage, database can be evicted by browser", log.level.Warn);
}
});