From 6835615b6d5bcad59850d3be1b1a264bbaec2f0e Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 8 Jul 2025 17:01:35 +0200 Subject: [PATCH] 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. --- Duplicati/Library/RestAPI/Runner.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Duplicati/Library/RestAPI/Runner.cs b/Duplicati/Library/RestAPI/Runner.cs index c0f694d21..67a042a5f 100644 --- a/Duplicati/Library/RestAPI/Runner.cs +++ b/Duplicati/Library/RestAPI/Runner.cs @@ -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 {