FIRST PASS - Updates Umbraco.Core project to not use the func overload & to use new message template instead

This commit is contained in:
Warren
2018-08-14 15:08:32 +01:00
parent 1c54c4c87d
commit 2a298aaaf5
26 changed files with 93 additions and 92 deletions

View File

@@ -226,7 +226,7 @@ namespace Umbraco.Core.IO
}
catch (FileNotFoundException ex)
{
Current.Logger.Info<PhysicalFileSystem>(() => $"DeleteFile failed with FileNotFoundException: {ex.InnerException}");
Current.Logger.Error<PhysicalFileSystem>("DeleteFile failed with FileNotFoundException for '{Path}'", ex.InnerException, fullPath);
}
}