Fix #181 that directory could be removed by user when wox running.

This commit is contained in:
qianlifeng
2014-09-19 16:23:43 +08:00
parent afdee44dd1
commit 4db7577448

View File

@@ -52,7 +52,11 @@ namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
}
catch (UnauthorizedAccessException e)
{
Debug.WriteLine(string.Format("Can't access to directory {0}",path),"WoxDebug");
Debug.WriteLine(string.Format("Can't access to directory {0}", path), "WoxDebug");
}
catch (DirectoryNotFoundException e)
{
//no-operation
}
}