Don't throw exception when journal path doesn't exist.
This commit is contained in:
parent
2bc47a8647
commit
ce250e4f84
1 changed files with 3 additions and 1 deletions
|
|
@ -202,7 +202,9 @@ namespace Observatory
|
|||
}
|
||||
else
|
||||
{
|
||||
throw new DirectoryNotFoundException($"Directory '{path}' does not exist.");
|
||||
//throw new DirectoryNotFoundException($"Directory '{path}' does not exist.");
|
||||
//Don't throw, not handling that right now. Just set to current folder.
|
||||
logDirectory = new DirectoryInfo(".");
|
||||
}
|
||||
}
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
|
|
|
|||
Loading…
Reference in a new issue