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:
Kenneth Skovhede
2025-07-08 17:01:35 +02:00
parent 678cab139b
commit 6835615b6d
+1 -4
View File
@@ -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
{