From 9bf8d54f0138cf968765c0036e0d07f12ea767ab 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 --- 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.20.1