From a5832ba04742c0aae119b121941a9bd64b9c4f83 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' --- 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 76c8cfceaf..46a90acc17 100644 --- a/C4/SIP/Trapper.pm +++ b/C4/SIP/Trapper.pm @@ -21,7 +21,7 @@ sub PRINT { my $logger = Koha::Logger->get( { interface => 'sip', category => 'STDERR' } ); warn @_; - $logger->error(@_); + $logger->warn(@_); $Log::Log4perl::caller_depth--; } -- 2.24.2 (Apple Git-127)