Add and use ThrowOnError global (temp)

This commit is contained in:
Matt Nadareski
2020-09-15 12:12:13 -07:00
parent ab06bf89f6
commit 91f659dca2
34 changed files with 468 additions and 30 deletions

View File

@@ -176,6 +176,9 @@ namespace SabreTools.Library.Logging
{
Console.WriteLine(ex);
Console.WriteLine("Could not write to log file!");
if (Globals.ThrowOnError)
throw ex;
return false;
}
}