IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2006, 3:09:26 PM (20 years ago)
Author:
Paul Price
Message:

Adding some error checking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAHeader.c

    r7278 r7314  
    9090    }
    9191
    92     return chipConcepts(chip);
     92    if (!chipConcepts(chip)) {
     93        psError(PS_ERR_UNKNOWN, false, "Unable to read concepts for chip.\n");
     94        return false;
     95    }
     96
     97    return true;
    9398}
    9499
     
    109114    }
    110115
    111     return fpaConcepts(fpa);
     116    if (!fpaConcepts(fpa)) {
     117        psError(PS_ERR_UNKNOWN, false, "Unable to read concepts for FPA.\n");
     118        return false;
     119    }
     120
     121    return true;
    112122}
Note: See TracChangeset for help on using the changeset viewer.