Bug 39911: Add POD
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit702d1d2792) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit90aca69657) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
46b433ee20
commit
5f9bf7974e
|
|
@ -57,6 +57,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' } );
|
||||
|
|
|
|||
Loading…
Reference in New Issue