Merge pull request #3576 from warwickmm/dont_explicitly_rethrow

Do not explicitly rethrow exceptions
This commit is contained in:
Hendrik
2019-01-01 18:41:51 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
@@ -178,7 +178,7 @@ namespace Duplicati.CommandLine.BackendTester
backend.Test();
curlist = backend.List();
}
catch (FolderMissingException fex)
catch (FolderMissingException)
{
if (autoCreateFolders)
{
@@ -194,7 +194,7 @@ namespace Duplicati.CommandLine.BackendTester
}
if (curlist == null)
throw fex;
throw;
}
foreach (Library.Interface.IFileEntry fe in curlist)
+2 -2
View File
@@ -447,8 +447,8 @@ namespace Duplicati.Server
Console.WriteLine(Strings.Program.SeriousError(mex.ToString()));
return 100;
}
else
throw mex;
throw;
}
catch (Exception ex)
{