diff --git a/src/utils/crypto/index.ts b/src/utils/crypto/index.ts index 772c771d8..2c4546c55 100644 --- a/src/utils/crypto/index.ts +++ b/src/utils/crypto/index.ts @@ -103,11 +103,7 @@ export const saveKeyInSessionStore = async ( const sessionKeyAttributes = await cryptoWorker.encryptToB64(key); setKey(keyType, sessionKeyAttributes); if (isElectron() && !fromDesktop) { - try { - desktopService.setEncryptionKey(key); - } catch (e) { - // ignore - } + desktopService.setEncryptionKey(key); } };