1
0
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:
Kyle Spearrin 2019-03-29 08:59:02 -04:00
parent e40d581422
commit 0885264800

View File

@ -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;
} }
} }