π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
wrap with try catch to avoid logging fail
Abhinav1fa1dea1f689
diff --git a/packages/accounts/pages/credentials.tsx b/packages/accounts/pages/credentials.tsxindex 2eccd9e06d..12bdabf428 100644--- a/packages/accounts/pages/credentials.tsx+++ b/packages/accounts/pages/credentials.tsx@@ -73,7 +73,11 @@ export default function Credentials({setUser(user);let key = getKey(SESSION_KEYS.ENCRYPTION_KEY);if (!key && isElectron()) {- key = await ElectronAPIs.getEncryptionKey();+ try {+ key = await ElectronAPIs.getEncryptionKey();+ } catch (e) {+ logError(e, 'getEncryptionKey failed');+ }if (key) {await saveKeyInSessionStore(SESSION_KEYS.ENCRYPTION_KEY,