Fix mis-spelt "occurred"
This commit is contained in:
committed by
Nathan Woulfe
parent
e783af3d19
commit
cc74be5a27
@@ -179,7 +179,7 @@ function umbRequestHelper($http, $q, notificationsService, eventsService, formHe
|
||||
|
||||
//show a ysod dialog
|
||||
if (Umbraco.Sys.ServerVariables["isDebuggingEnabled"] === true) {
|
||||
const error = { errorMsg: 'An error occured', data: response.data };
|
||||
const error = { errorMsg: 'An error occurred', data: response.data };
|
||||
// TODO: All YSOD handling should be done with an interceptor
|
||||
overlayService.ysod(error);
|
||||
}
|
||||
@@ -294,7 +294,7 @@ function umbRequestHelper($http, $q, notificationsService, eventsService, formHe
|
||||
}
|
||||
else if (Umbraco.Sys.ServerVariables["isDebuggingEnabled"] === true) {
|
||||
//show a ysod dialog
|
||||
const error = { errorMsg: 'An error occured', data: response.data };
|
||||
const error = { errorMsg: 'An error occurred', data: response.data };
|
||||
// TODO: All YSOD handling should be done with an interceptor
|
||||
overlayService.ysod(error);
|
||||
}
|
||||
|
||||
@@ -443,9 +443,9 @@ namespace Umbraco.Web.Editors
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Error<UsersController>(ex, "An error occured in a custom event handler while inviting the user");
|
||||
Logger.Error<UsersController>(ex, "An error occurred in a custom event handler while inviting the user");
|
||||
throw new HttpResponseException(
|
||||
Request.CreateNotificationValidationErrorResponse($"An error occured inviting the user (check logs for more info): {ex.Message}"));
|
||||
Request.CreateNotificationValidationErrorResponse($"An error occurred inviting the user (check logs for more info): {ex.Message}"));
|
||||
}
|
||||
|
||||
// If the event is handled then no need to send the email
|
||||
|
||||
Reference in New Issue
Block a user