IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25066


Ignore:
Timestamp:
Aug 13, 2009, 2:32:28 PM (17 years ago)
Author:
bills
Message:

don't fault if project is unresolved if the job
in question is already faulted.
use Carp

File:
1 edited

Legend:

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

    r25053 r25066  
    88use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
    99use Pod::Usage qw( pod2usage );
     10use Carp;
    1011
    1112use Time::Local;
     
    187188        if (!$image_db) {
    188189            carp("failed to find imagedb for project: $project");
    189             stop_request($req_id, $PS_EXIT_CONFIG_ERROR);
     190            if (!$fault) {
     191                stop_request($req_id, $PS_EXIT_CONFIG_ERROR);
     192            }
    190193        }
    191194
     
    319322    my $exp_id = shift;
    320323
    321     if (!$exp_id) {
     324    if (!$exp_id or !$image_db) {
    322325        # no exposure id just return zeros
    323326        # XXX: we could put a value in for filter, but we don't have a good place to find it
Note: See TracChangeset for help on using the changeset viewer.