Remove LogError<T> from LoggerExtensions

This commit is contained in:
Nikolaj
2020-09-16 09:40:49 +02:00
parent e870823e81
commit dda6fb12a3
66 changed files with 115 additions and 195 deletions

View File

@@ -38,7 +38,7 @@ namespace Umbraco.Web.Models.Mapping
var editor = _propertyEditors[property.PropertyType.PropertyEditorAlias];
if (editor == null)
{
_logger.LogError<ContentPropertyBasicMapper<TDestination>>(
_logger.LogError(
new NullReferenceException("The property editor with alias " + property.PropertyType.PropertyEditorAlias + " does not exist"),
"No property editor '{PropertyEditorAlias}' found, converting to a Label",
property.PropertyType.PropertyEditorAlias);