[Koha-devel] SIG DIE in returns.pl

Fridolin SOMERS fridolin.somers at biblibre.com
Thu Nov 30 09:57:09 CET 2017


With plack when some code fails, there is always in log a reference to 
circ/returns.pl o_O at start of stack trace.

I found that there is in this page :

use Carp 'verbose';
$SIG{ __DIE__ } = sub { Carp::confess( @_ ) };

Added by commit bb6277ffcc593685554112d770ac273c9efeda33
Bug 14464: Add ability to cancel waiting holds from checkin screen

Is this for debug purpopse only ?
Why only this page ?
Should it be moved to plack.psgi ?


Fridolin SOMERS <fridolin.somers at biblibre.com>
BibLibre - software and system maintainer

More information about the Koha-devel mailing list