Bugzilla – Attachment 183212 Details for
Bug 39911
Fatal errors from SIP server are not logged
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39911: (RM follow-up) Use logger warn
Bug-39911-RM-follow-up-Use-logger-warn.patch (text/plain), 813 bytes, created by
Lucas Gass (lukeg)
on 2025-06-12 15:58:28 UTC
(
hide
)
Description:
Bug 39911: (RM follow-up) Use logger warn
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-06-12 15:58:28 UTC
Size:
813 bytes
patch
obsolete
>From 1b07c1ac06fd3dd27d9fe4396beeb945e1b85b43 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 12 Jun 2025 15:57:38 +0000 >Subject: [PATCH] Bug 39911: (RM follow-up) Use logger warn > >--- > 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 a9e87e3907f..32881018d8d 100644 >--- a/C4/SIP/Trapper.pm >+++ b/C4/SIP/Trapper.pm >@@ -68,7 +68,7 @@ $SIG{__DIE__} = sub { > my $msg = shift; > my $logger = Koha::Logger->get( { interface => 'sip', category => 'STDERR' } ); > $logger->error($msg) if $logger; >- warn $msg; # die doesn't output the message, warn before dying >+ $logger->warn($msg) if $logger; # die doesn't output the message, warn before dying > die $msg; > }; > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39911
:
182501
|
182502
|
182503
|
182508
|
183078
|
183203
|
183212
|
183247