chore: add temporary error log on authenticator authentication options generation

This commit is contained in:
Karol Sójko
2023-03-09 12:10:27 +01:00
parent 9c9f6ce0f3
commit c098256f2f

View File

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