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

@@ -210,7 +210,7 @@ namespace Umbraco.Web.Models.Mapping
//fixme: Don't explode if we can't find this, log an error and change this to a label
if (propertyEditor == null)
{
_logger.Error(GetType(),
_logger.LogError(GetType(),
"No property editor could be resolved with the alias: {PropertyEditorAlias}, defaulting to label", p.PropertyEditorAlias);
propertyEditorAlias = Constants.PropertyEditors.Aliases.Label;
propertyEditor = _propertyEditors[propertyEditorAlias];