IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 22420


Ignore:
Timestamp:
Feb 23, 2009, 3:14:29 PM (17 years ago)
Author:
Paul Price
Message:

Unhandled exceptions should be passed on to my_die so they get pushed into the database.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/register_imfile.pl

    r21934 r22420  
    4141    'logfile=s'        => \$logfile,
    4242) or pod2usage( 2 );
     43
     44# Unhandled exceptions should be passed on to my_die so they get pushed into the database
     45$SIG{__DIE__} = sub { die @_ if $^S;
     46                      my_die( $_[0], $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_UNKNOWN_ERROR ); };
    4347
    4448$ipprc->redirect_output($logfile) if $logfile;
Note: See TracChangeset for help on using the changeset viewer.