IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27224 for trunk/psastro


Ignore:
Timestamp:
Mar 8, 2010, 10:16:48 PM (16 years ago)
Author:
Paul Price
Message:

Propagate errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroAnalysis.c

    r26259 r27224  
    126126    }
    127127
    128     psastroZeroPoint (config);
     128    if (!psastroZeroPoint (config)) {
     129        psError(psErrorCodeLast(), false, "Failed to calculate zero point.");
     130        return false;
     131    }
    129132
    130     psastroAstromGuessCheck (config);
     133    if (!psastroAstromGuessCheck (config)) {
     134        psError(psErrorCodeLast(), false, "Failed to check astrometry guess.");
     135        return false;
     136    }
    131137
    132     psastroMaskUpdates (config);
     138    if (!psastroMaskUpdates (config)) {
     139        psError(psErrorCodeLast(), false, "Failed to generate dynamic masks.");
     140        return false;
     141    }
    133142
    134143    return true;
Note: See TracChangeset for help on using the changeset viewer.