Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T>
This commit is contained in:
@@ -892,7 +892,7 @@ namespace Umbraco.Core.Services.Implement
|
||||
scope.Events.Dispatch(Deleted, this, args);
|
||||
|
||||
_mediaFileSystem.DeleteFiles(args.MediaFilesToDelete, // remove flagged files
|
||||
(file, e) => Logger.Error<MediaService>("An error occurred while deleting file attached to nodes: " + file, e));
|
||||
(file, e) => Logger.Error<MediaService>("An error occurred while deleting file attached to nodes: {File}", e, file));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user