From 35eea3356108d1dcbe92bac2466da421a38c8de8 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 5 Oct 2010 20:38:44 +0000 Subject: [PATCH] Log error message when a non-existent path is specified. --- Source/Build.Tasks/DelTree.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Build.Tasks/DelTree.cs b/Source/Build.Tasks/DelTree.cs index db7d314e..c5605728 100644 --- a/Source/Build.Tasks/DelTree.cs +++ b/Source/Build.Tasks/DelTree.cs @@ -59,6 +59,7 @@ namespace Build.Tasks if (String.IsNullOrEmpty(Path) || System.IO.Directory.Exists(Path)) { + Log.LogError(String.Format("Path '{0}' does not exist.", Path)); return false; } else