owin/gate — Issue #68: Ghost exception when directory not found
Author: loudej
Created: 2012-02-06 19:19:03+00:00
State: open

Reported by @davidfowl via email

$ ghost

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\dev\github\bin\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Gate.Builder.Loader.StartupLoader.GetDefaultConfigurationString(Func`2 defaultTypeNames)
at Gate.Builder.Loader.StartupLoader.Load(String startupName)
at Ghost.Engine.GhostEngine.ResolveApp(StartInfo info)
at Ghost.Engine.GhostEngine.Start(StartInfo info)
at Ghost.Engine.CommandLine.Program.Main(String[] args)
at Ghost.Program.Main(String[] args)

Should show the help :)