From 89ff35b0250de99b14f749e6961a73f3ee398768 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 3 Feb 2023 09:45:03 +0000 Subject: [PATCH] Bug 32612: (QA follow-up) Add missing interface for Logger Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- misc/background_jobs_worker.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl index 829e48726e..b98d5f135f 100755 --- a/misc/background_jobs_worker.pl +++ b/misc/background_jobs_worker.pl @@ -123,7 +123,7 @@ while (1) { my $args = try { $job->json->decode($job->data); } catch { - Koha::Logger->get->warn(sprintf "Cannot decode data for job id=%s", $job->id); + Koha::Logger->get({ interface => 'worker' })->warn(sprintf "Cannot decode data for job id=%s", $job->id); $job->status('failed')->store; return; }; -- 2.39.5