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:
@@ -127,9 +127,6 @@ namespace SabreTools.Library.FileTypes
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Error(ex);
|
||||
if (Globals.ThrowOnError)
|
||||
throw ex;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -208,9 +205,6 @@ namespace SabreTools.Library.FileTypes
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Error(ex);
|
||||
if (Globals.ThrowOnError)
|
||||
throw ex;
|
||||
|
||||
return realentry;
|
||||
}
|
||||
|
||||
@@ -250,9 +244,6 @@ namespace SabreTools.Library.FileTypes
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Error(ex);
|
||||
if (Globals.ThrowOnError)
|
||||
throw ex;
|
||||
|
||||
return (ms, realentry);
|
||||
}
|
||||
|
||||
@@ -390,9 +381,6 @@ namespace SabreTools.Library.FileTypes
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Error(ex);
|
||||
if (Globals.ThrowOnError)
|
||||
throw ex;
|
||||
|
||||
success = false;
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user