From 43d76ab440a8e9d01dfa48f7a73a358a56515b36 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 (cherry picked from commit 89ff35b0250de99b14f749e6961a73f3ee398768) Signed-off-by: Jacob O'Mara (cherry picked from commit cd3e4c196cb0754006eb13910e9fbb48e7e3d6fb) Signed-off-by: Lucas Gass --- 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