IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 2, 2013, 11:51:49 AM (13 years ago)
Author:
bills
Message:

slightly better error reporting

File:
1 edited

Legend:

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

    r29173 r35487  
    128128        run(command => $command, verbose => $verbose);
    129129    unless ($success) {
     130        my $status = $error_code >> 8;
    130131        print STDERR @$stderr_buf;
    131         die("Unable to perform pstamptool -getwebrequestnum: $error_code");
     132        die("Unable to perform $command: $error_code : $status");
    132133    }
    133134    my $webreq_num = ${$stdout_buf}[0];
Note: See TracChangeset for help on using the changeset viewer.