use console.log instead of console.error if indexeddb is not available as this behaviour is expected

This commit is contained in:
schlagmichdoch 2023-01-22 17:34:33 +01:00
parent 35aac22fae
commit bf79f72741
2 changed files with 10 additions and 10 deletions

View file

@ -118,7 +118,7 @@ class ServerConnection {
// make peerId persistent when pwa installed
PersistentStorage.set('peerId', msg.message.peerId).then(peerId => {
console.log(`peerId saved to indexedDB: ${peerId}`);
}).catch(e => console.error(e));
}).catch(_ => _ => PersistentStorage.logBrowserNotCapable());
}
Events.fire('display-name', msg);
}