Bugzilla – Attachment 183203 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: Add POD
Bug-39911-Add-POD.patch (text/plain), 863 bytes, created by
Kyle M Hall (khall)
on 2025-06-12 12:44:30 UTC
(
hide
)
Description:
Bug 39911: Add POD
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2025-06-12 12:44:30 UTC
Size:
863 bytes
patch
obsolete
>From 2bf8d7b29f83af05d210c9b419ecafbef689b237 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 12 Jun 2025 08:43:03 -0400 >Subject: [PATCH] Bug 39911: Add POD > >--- > C4/SIP/Trapper.pm | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/C4/SIP/Trapper.pm b/C4/SIP/Trapper.pm >index ce1be20e977..a9e87e3907f 100644 >--- a/C4/SIP/Trapper.pm >+++ b/C4/SIP/Trapper.pm >@@ -56,6 +56,14 @@ sub BINMODE { > binmode( STDOUT, $mode ); > } > >+=head2 DIE signal handler >+ >+ A global die handler to capture fatal errors and ensures they are logged. >+ When DIE is emitted, the message will be logged using Koha::Logger if available, >+ and also printed to stderr >+ >+=cut >+ > $SIG{__DIE__} = sub { > my $msg = shift; > my $logger = Koha::Logger->get( { interface => 'sip', category => 'STDERR' } ); >-- >2.39.5 (Apple Git-154)
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