Changeset 7311 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Jun 2, 2006, 3:02:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7278 r7311 35 35 if (psRegionIsBad(*trimsec)) { 36 36 psString regionString = psRegionToString(*trimsec); 37 psError(PS_ERR_ IO, true, "Invalid trim section: %s\n", regionString);37 psError(PS_ERR_UNKNOWN, true, "Invalid trim section: %s\n", regionString); 38 38 psFree(regionString); 39 39 psFree(readout); … … 319 319 } 320 320 if (!hdu->images && !pmHDURead(hdu, fits)) { 321 psError(PS_ERR_IO, false, "Unable to read HDU for cell.\n"); 322 return false; 323 } 324 325 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER, false, NULL); 321 psError(PS_ERR_UNKNOWN, false, "Unable to read HDU for cell.\n"); 322 return false; 323 } 324 325 if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER, false, NULL)) { 326 psError(PS_ERR_UNKNOWN, false, "Failed to read concepts for cell"); 327 return false; 328 } 326 329 327 330 // Having read the cell, we now have to cut it up … … 397 400 pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_HEADER, NULL); 398 401 } else { 399 ps LogMsg(__func__, PS_LOG_WARN, "Unable to read any chips in FPA.\n");402 psError(PS_ERR_UNKNOWN, false, "Unable to read any chips in FPA"); 400 403 } 401 404
Note:
See TracChangeset
for help on using the changeset viewer.
