mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 14:54:50 -05:00
log error from exceptions on 2fa registration
This commit is contained in:
parent
e40d581422
commit
0885264800
@ -405,8 +405,9 @@ namespace Bit.Core.Services
|
||||
await UpdateTwoFactorProviderAsync(user, TwoFactorProviderType.U2f);
|
||||
return true;
|
||||
}
|
||||
catch(U2fException)
|
||||
catch(U2fException e)
|
||||
{
|
||||
Logger.LogError(e, "Complete U2F registration error.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user