Change Warn to LogWarning

This commit is contained in:
Nikolaj
2020-09-14 10:17:32 +02:00
parent d7e3bce741
commit a1ecc4a5c9
79 changed files with 152 additions and 152 deletions

View File

@@ -622,7 +622,7 @@ namespace Umbraco.Web.BackOffice.Controllers
// Save Media with new sort order and update content xml in db accordingly
if (mediaService.Sort(sortedMedia) == false)
{
Logger.Warn<MediaController>("Media sorting failed, this was probably caused by an event being cancelled");
Logger.LogWarning<MediaController>("Media sorting failed, this was probably caused by an event being cancelled");
throw HttpResponseException.CreateValidationErrorResponse("Media sorting failed, this was probably caused by an event being cancelled");
}
return Ok();