IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25112


Ignore:
Timestamp:
Aug 18, 2009, 11:59:40 AM (17 years ago)
Author:
bills
Message:

if a request fails because of a duplicate request name, just
stop the request. There is no fileset to place the results on

File:
1 edited

Legend:

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

    r25066 r25112  
    181181        my $fault = $job->{fault};
    182182        my $exp_id = $job->{exp_id};
     183
     184        if ($fault eq $PSTAMP_DUP_REQUEST) {
     185            # this request had a duplicate request name. We can't put the results
     186            # on the data store since the product name is already used
     187            # maybe we could be more clever about this and choose a fileset name
     188            stop_request($req_id, $fault);
     189        }
    183190
    184191        my ($row, $req_info, $project) = get_request_info($rows, $rownum);
Note: See TracChangeset for help on using the changeset viewer.