Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T>
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Umbraco.Core.IO
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Error<MediaFileSystem>("Failed to delete attached file \"" + file + "\".", e);
|
||||
Logger.Error<MediaFileSystem>("Failed to delete attached file '{File}'", e, file);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user