Throw exception on error
This PR changs the logic for queued tasks, so they throw if they fail. Without this fix, some tasks may look like the succeeded, when they actually failed.
This commit is contained in:
@@ -815,10 +815,7 @@ namespace Duplicati.Server
|
||||
UpdateMetadataError(databaseConnection, notificationUpdateService, data.Backup, ex);
|
||||
Library.UsageReporter.Reporter.Report(ex);
|
||||
|
||||
if (!fromQueue)
|
||||
throw;
|
||||
|
||||
return null;
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user