1
0
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:
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);
return true;
}
catch(U2fException)
catch(U2fException e)
{
Logger.LogError(e, "Complete U2F registration error.");
return false;
}
}