IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34605


Ignore:
Timestamp:
Oct 25, 2012, 1:04:38 PM (14 years ago)
Author:
bills
Message:

work around an error condition where no dquery job got created for a row

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20120802/pstamp/scripts/dquery_finish.pl

    r33324 r34605  
    128128    my $job_id = $job->{job_id};
    129129
     130    if ($job->{fault}) {
     131        # how do we get this information back to the user?
     132        print STDERR "job: $job_id faulted with $job->{fault}\n";
     133        next;
     134    }
    130135    my $outputBase = $job->{outputBase};
    131136    my $results = "${outputBase}results.txt";
     
    166171    my $results = shift;
    167172
    168     open IN, "<$results_file" or my_die("failed to open $results_file", $PS_EXIT_UNKNOWN_ERROR);
     173    open IN, "<$results_file" or my_die("failed to open $results_file\n", $PS_EXIT_UNKNOWN_ERROR);
    169174
    170175    foreach my $line (<IN>) {
Note: See TracChangeset for help on using the changeset viewer.