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:
@@ -99,10 +99,7 @@ namespace SabreTools.Library.Filtering
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Warning($"Exception found while parsing '{ini}': {ex}");
|
||||
if (Globals.ThrowOnError)
|
||||
throw ex;
|
||||
|
||||
Globals.Logger.Warning(ex, $"Exception found while parsing '{ini}'");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user