Update VaultMessageHandler.ts to suppress non-errors (#2004)

This commit is contained in:
Leendert de Borst
2026-05-14 09:36:14 +02:00
committed by Leendert de Borst
parent 27eeb589c8
commit 5456e0077c

View File

@@ -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) };
}