IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14847


Ignore:
Timestamp:
Sep 14, 2007, 4:17:39 PM (19 years ago)
Author:
Paul Price
Message:

Adding error check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r14821 r14847  
    140140        pmFPACopy(photFile->fpa, outRO->parent->parent->parent);
    141141
    142         psphotReadout(config, view);
     142        if (!psphotReadout(config, view)) {
     143            psError(psErrorCodeLast(), false, "Unable to perform photometry on subtracted image.\n");
     144            return false;
     145        }
    143146
    144147        pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
Note: See TracChangeset for help on using the changeset viewer.