IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30217


Ignore:
Timestamp:
Jan 7, 2011, 12:56:57 PM (15 years ago)
Author:
bills
Message:

from ipp-20101215.
Integrate uncommitted changes made in production branch,
fix arguments to my_die_update
fault chip if application of burntool fails

File:
1 edited

Legend:

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

    r30182 r30217  
    265265        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    266266        &my_die_for_update("Unable to perform regtool: $error_code",
    267                            $exp_id, $exp_name, $class_id, $PS_EXIT_SYS_ERROR);
     267                           $exp_id, $class_id, $PS_EXIT_SYS_ERROR);
    268268    }
    269269
     
    279279            my $list = parse_md_list( $mdcParser->parse( join( "\n", @single ) ) );
    280280            &my_die_for_update("Unable to parse output from regtool",
    281                                $exp_id, $exp_name, $class_id, $PS_EXIT_SYS_ERROR) unless
     281                               $exp_id, $class_id, $PS_EXIT_SYS_ERROR) unless
    282282                                   defined $list;
    283283            push @{ $exposures }, @$list;
     
    320320            unless ($success) {
    321321                $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    322                 warn ("Unable to perform ipp_apply_burntool_single.pl: $error_code");
    323                 exit($error_code);
     322                &my_die_for_update("Unable to perform ipp_apply_burntool_single.pl: $error_code",
     323                               $exp_id, $class_id, $PS_EXIT_SYS_ERROR);
    324324            }
    325325        }
     
    396396    my $msg = shift; # Warning message on die
    397397    my $exp_id = shift;
    398     my $exp_name = shift;
    399398    my $class_id = shift;
    400     my $uri = shift;
    401399    my $exit_code = shift;
    402 
    403     # for failed imfiles, we insert UNKNOWN for inst, telescope, class_id
    404400
    405401    $exit_code = $PS_EXIT_PROG_ERROR unless defined $exit_code;
Note: See TracChangeset for help on using the changeset viewer.