Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T>
This commit is contained in:
@@ -204,7 +204,7 @@ namespace Umbraco.Core.Services.Implement
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error<LocalizedTextServiceFileSources>("Could not load file into XML " + supplementaryFile.File.FullName, ex);
|
||||
_logger.Error<LocalizedTextServiceFileSources>("Could not load file into XML {File}", ex, supplementaryFile.File.FullName);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user