Bug 39911: Add POD
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 702d1d2792)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
970afe8950
commit
90aca69657
|
|
@ -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' } );
|
||||
|
|
|
|||
Loading…
Reference in New Issue