diff --git a/src/Umbraco.Core/IO/PhysicalFileSystem.cs b/src/Umbraco.Core/IO/PhysicalFileSystem.cs index 07c9cb1793..def0a3c19c 100644 --- a/src/Umbraco.Core/IO/PhysicalFileSystem.cs +++ b/src/Umbraco.Core/IO/PhysicalFileSystem.cs @@ -5,6 +5,8 @@ using System.Linq; using System.Text; using System.Web; using Umbraco.Core.CodeAnnotations; +using Umbraco.Core.Logging; +using Umbraco.Core.Publishing; namespace Umbraco.Core.IO { @@ -131,7 +133,9 @@ namespace Umbraco.Core.IO File.Delete(GetFullPath(path)); } catch (FileNotFoundException ex) - { } + { + LogHelper.Info(string.Format("DeleteFile failed with FileNotFoundException: {0}", ex.InnerException)); + } } public bool FileExists(string path)