From c451c7bb9da0a711fc82ac0cddc56e2a7d82941e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 30 Nov 2022 13:13:11 +0100 Subject: [PATCH] :bug: Fix regression on worker task handling --- backend/src/app/worker.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/app/worker.clj b/backend/src/app/worker.clj index f54a3add1..6df88a902 100644 --- a/backend/src/app/worker.clj +++ b/backend/src/app/worker.clj @@ -409,7 +409,9 @@ {:status :retry :task task :error cause}))))) (get-task [task-id] - (ex/try (db/get* pool :task {:id task-id}))) + (ex/try! + (some-> (db/get* pool :task {:id task-id}) + (decode-task-row)))) (run-task [task-id] (loop [task (get-task task-id)]