diff --git a/BTCPayServer/Controllers/ManageController.cs b/BTCPayServer/Controllers/ManageController.cs index bb104a72c..681f5c8df 100644 --- a/BTCPayServer/Controllers/ManageController.cs +++ b/BTCPayServer/Controllers/ManageController.cs @@ -110,7 +110,7 @@ namespace BTCPayServer.Controllers { var setEmailResult = await _userManager.SetEmailAsync(user, model.Email); if (!setEmailResult.Succeeded) - { + { throw new ApplicationException($"Unexpected error occurred setting email for user with ID '{user.Id}'."); } await _userManager.SetUserNameAsync(user, model.Username);