From 6b77eb65d1178c79e34bc83701c4bc725809a6f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Wed, 2 Jul 2025 22:31:09 +0200 Subject: [PATCH] Different error messages --- .../src/autofill/modal/credentials/fido2-create.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts b/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts index cd751499adb..7c48c0c2f16 100644 --- a/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts +++ b/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts @@ -176,8 +176,9 @@ export class Fido2CreateComponent implements OnInit, OnDestroy { Fido2Utils.cipherHasNoOtherPasskeys(cipher, userHandle) && !cipher.deletedDate, ); - } catch { - await this.showErrorDialog(DIALOG_MESSAGES.unexpectedErrorShort); + } catch (e) { + console.error("Error decrypting and filtering ciphers:", e); + await this.showErrorDialog(e); return []; } }),