Changeset 30217
- Timestamp:
- Jan 7, 2011, 12:56:57 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/register_imfile.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_imfile.pl
r30182 r30217 265 265 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 266 266 &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); 268 268 } 269 269 … … 279 279 my $list = parse_md_list( $mdcParser->parse( join( "\n", @single ) ) ); 280 280 &my_die_for_update("Unable to parse output from regtool", 281 $exp_id, $ exp_name, $class_id, $PS_EXIT_SYS_ERROR) unless281 $exp_id, $class_id, $PS_EXIT_SYS_ERROR) unless 282 282 defined $list; 283 283 push @{ $exposures }, @$list; … … 320 320 unless ($success) { 321 321 $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); 324 324 } 325 325 } … … 396 396 my $msg = shift; # Warning message on die 397 397 my $exp_id = shift; 398 my $exp_name = shift;399 398 my $class_id = shift; 400 my $uri = shift;401 399 my $exit_code = shift; 402 403 # for failed imfiles, we insert UNKNOWN for inst, telescope, class_id404 400 405 401 $exit_code = $PS_EXIT_PROG_ERROR unless defined $exit_code;
Note:
See TracChangeset
for help on using the changeset viewer.
