Checking to see why the test file doesn't get deleted on the build server

This commit is contained in:
Sebastiaan Janssen
2012-11-29 11:56:33 -01:00
parent 4817cf8310
commit dac1a8e9dc

View File

@@ -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<PublishingStrategy>(string.Format("DeleteFile failed with FileNotFoundException: {0}", ex.InnerException));
}
}
public bool FileExists(string path)