Skip to content

Clog crashes if config file cannot be found #70

@ThadHouse

Description

@ThadHouse
C:\Users\thhous\Documents\GitHub\msquic\src\bin\winkernel\resource.h
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\thhous\Documents\GitHub\msquic\src\src\manifest\msquic.clog_config'.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path)
   at clogutils.ConfigFile.CLogConfigurationFile.FromFile(String fileName) in /home/vsts/work/1/s/src/clogutils/ConfigFile/CLogConfigurationFile.cs:line 410
   at clog.clog.<>c.<Main>b__1_0(CommandLineArguments options) in /home/vsts/work/1/s/src/clog/clog.cs:line 103
   at CommandLine.ParserResultExtensions.MapResult[TSource,TResult](ParserResult`1 result, Func`2 parsedFunc, Func`2 notParsedFunc)
   at clog.clog.Main(String[] args) in /home/vsts/work/1/s/src/clog/clog.cs:line 85

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildPart of the build process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions