From 46c9d97cfd8d3010386a483bfc147b75d1d58707 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 23 Apr 2020 09:25:33 -0400 Subject: [PATCH] Bug 15253: Log trapped errors as log level 'warn' instead of 'error' Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- C4/SIP/Trapper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/Trapper.pm b/C4/SIP/Trapper.pm index e134f246e4..8dce10ed0c 100644 --- a/C4/SIP/Trapper.pm +++ b/C4/SIP/Trapper.pm @@ -15,7 +15,7 @@ sub PRINT { my $logger = Koha::Logger->get( { interface => 'sip', category => 'STDERR' } ); warn @_; - $logger->error(@_); + $logger->warn(@_); $Log::Log4perl::caller_depth--; } -- 2.39.5