diff --git a/packages/snjs/lib/Domain/UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponse.ts b/packages/snjs/lib/Domain/UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponse.ts index fad5fe6e1..0d0e9defb 100644 --- a/packages/snjs/lib/Domain/UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponse.ts +++ b/packages/snjs/lib/Domain/UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponse.ts @@ -32,6 +32,8 @@ export class GetAuthenticatorAuthenticationResponse implements UseCaseInterface< try { authenticatorResponse = await this.authenticatorVerificationPromptFunction(authenticationOptions) } catch (error) { + console.error(error) + return Result.fail(`Could not generate authenticator authentication options: ${(error as Error).message}`) }