From c214cc15440d2af49514d040e682cbb6fe80f25e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 4 Nov 2025 09:58:55 +0100 Subject: [PATCH] :bug: Do not process runner result if no result returned --- backend/src/app/worker/runner.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/worker/runner.clj b/backend/src/app/worker/runner.clj index d2b0204121..426d69a123 100644 --- a/backend/src/app/worker/runner.clj +++ b/backend/src/app/worker/runner.clj @@ -224,11 +224,11 @@ "failed" (handle-task-failure result) "completed" (handle-task-completion result) (throw (IllegalArgumentException. - (str "invalid status received: " status)))))) + (str "invalid status received: '" status "'")))))) (run-task-loop [[task-id scheduled-at]] (loop [result (run-task! cfg task-id scheduled-at)] - (when-let [cause (process-result result)] + (when-let [cause (some-> result process-result)] (if (or (db/connection-error? cause) (db/serialization-error? cause)) (do