mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Consolidate some of the throws
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user