mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
use console.log instead of console.error if indexeddb is not available as this behaviour is expected
This commit is contained in:
parent
35aac22fae
commit
bf79f72741
2 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue