Consolidate some of the throws

This commit is contained in:
Matt Nadareski
2020-09-15 17:09:35 -07:00
parent 74a0c47102
commit 044d70da6e
16 changed files with 58 additions and 175 deletions

View File

@@ -137,9 +137,7 @@ CREATE TABLE IF NOT EXISTS data (
}
catch (Exception ex)
{
Console.WriteLine(ex);
if (Globals.ThrowOnError)
throw ex;
Globals.Logger.Error(ex);
}
finally
{