From ea53ae8f20be30cd54050df945ed5be2df077f0c Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Sun, 24 Mar 2019 16:09:36 +0100 Subject: [PATCH] Update ManageController.cs --- BTCPayServer/Controllers/ManageController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);