mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-21 22:54:53 +08:00
use console.log instead of console.error if indexeddb is not available as this behaviour is expected
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user