IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41477 for trunk


Ignore:
Timestamp:
Jan 27, 2021, 11:00:15 PM (5 years ago)
Author:
mhuber
Message:

fixed error_code returned when CMF file missing for ppCoords so jobs faults properly and not fault entire request (IPP-943)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/dquery_job_run.pl

    r40747 r41477  
    122122    run(command => $command, verbose => $verbose);
    123123unless ($success) {
    124     my_die("Unable to perform $command. Error_code: $error_code",
     124    my $rc = $error_code >> 8;
     125    my_die("Unable to perform $command. Error_code: $error_code $rc",
    125126           $params->{QUERY_ID},$fpa_id,$params->{'MJD-OBS'},
    126127           $params->{FILTER},$params->{OBSCODE},$params->{STAGE},
    127            $error_code);
     128           $rc);
    128129}
    129130my @response = split /\n/, (join "", @$stdout_buf);
Note: See TracChangeset for help on using the changeset viewer.