mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-18 21:40:41 -04:00
Update VaultMessageHandler.ts to suppress non-errors (#2004)
This commit is contained in:
committed by
Leendert de Borst
parent
27eeb589c8
commit
5456e0077c
@@ -236,7 +236,7 @@ export async function handleGetVault(
|
||||
}
|
||||
|
||||
if (!encryptionKey) {
|
||||
console.error('Encryption key not available');
|
||||
console.info('Encryption key not available (vault locked)');
|
||||
// E-202: No encryption key available (vault is locked)
|
||||
return { success: false, error: formatErrorWithCode(await t('common.errors.vaultIsLocked'), AppErrorCode.VAULT_LOCKED) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user