IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16975


Ignore:
Timestamp:
Mar 13, 2008, 11:38:54 AM (18 years ago)
Author:
bills
Message:

if pstampparse encounters an error and produces no jobs, save the stderr
output in a file for use in request results file

File:
1 edited

Legend:

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

    r16764 r16975  
    159159        run(command => $command, verbose => 1);
    160160    unless ($success) {
    161         die("Unable to perform $command error code: $error_code");
     161#        die("Unable to perform $command error code: $error_code");
     162        if (!open OUT, ">$outdir/parse_error") {
     163            die("unable to open parse_error file $outdir/parse_error");
     164        }
     165        print OUT "@$stderr_buf";
     166        close(OUT);
    162167    }
    163168}
Note: See TracChangeset for help on using the changeset viewer.