From bc2f77f84d5bd1c15ee4a72f17d813b7e47cf451 Mon Sep 17 00:00:00 2001 From: Jeffrey Holland Date: Wed, 2 Jul 2025 22:46:43 +0200 Subject: [PATCH] Add more logging around cipher filtering error --- .../autofill/modal/credentials/fido2-create.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 a3af52bdc73..a1240b9b1f2 100644 --- a/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts +++ b/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts @@ -170,13 +170,17 @@ export class Fido2CreateComponent implements OnInit, OnDestroy { try { const allCiphers = await this.cipherService.getAllDecrypted(activeUserId); + // eslint-disable-next-line no-console + console.log("Retrieved all decrypted ciphers"); return allCiphers.filter( (cipher) => cipher.login?.matchesUri(rpid, equivalentDomains) && Fido2Utils.cipherHasNoOtherPasskeys(cipher, userHandle) && !cipher.deletedDate, ); - } catch { + } catch (error) { + // eslint-disable-next-line no-console + console.log("Failed filtering ciphers with error: ", error); await this.showErrorDialog(DIALOG_MESSAGES.unexpectedErrorShort); return []; }