IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21385


Ignore:
Timestamp:
Feb 6, 2009, 1:10:04 PM (17 years ago)
Author:
bills
Message:

for now, set state to stop on parser error until pstamp_finish handles
total failure better

File:
1 edited

Legend:

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

    r19265 r21385  
    223223$parse_cmd .= " --dbname $dbname" if $dbname;
    224224
     225my $newState = "run";
    225226my $fault;
    226227{
     
    248249    unless ($success) {
    249250        $fault = $error_code >> 8;
     251        $newState = "stop";
    250252    }
    251253}
     
    255257#
    256258{
    257     my $command = "$pstamptool -updatereq -req_id $req_id -state run";
     259    my $command = "$pstamptool -updatereq -req_id $req_id -state $newState";
    258260    $command   .= " -reqType $reqType" if $reqType;
    259261    $command   .= " -uri $new_uri" if $new_uri;
Note: See TracChangeset for help on using the changeset viewer.