mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 23:34:53 -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);
|
await UpdateTwoFactorProviderAsync(user, TwoFactorProviderType.U2f);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch(U2fException)
|
catch(U2fException e)
|
||||||
{
|
{
|
||||||
|
Logger.LogError(e, "Complete U2F registration error.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user