Rename Error to align it with MS ILogger

This commit is contained in:
Nikolaj
2020-09-14 09:10:53 +02:00
parent fc054e6546
commit d7e3bce741
95 changed files with 187 additions and 187 deletions

View File

@@ -102,7 +102,7 @@ namespace Umbraco.Web.BackOffice.Controllers
catch (Exception exception)
{
const string errorMessage = "Error creating macro";
_logger.Error<MacrosController>(exception, errorMessage);
_logger.LogError<MacrosController>(exception, errorMessage);
throw HttpResponseException.CreateNotificationValidationErrorResponse(errorMessage);
}
}
@@ -226,7 +226,7 @@ namespace Umbraco.Web.BackOffice.Controllers
catch (Exception exception)
{
const string errorMessage = "Error creating macro";
_logger.Error<MacrosController>(exception, errorMessage);
_logger.LogError<MacrosController>(exception, errorMessage);
throw HttpResponseException.CreateNotificationValidationErrorResponse(errorMessage);
}
}