Index: /trunk/psastro/src/psastroChipAstrom.c
===================================================================
--- /trunk/psastro/src/psastroChipAstrom.c	(revision 9643)
+++ /trunk/psastro/src/psastroChipAstrom.c	(revision 9644)
@@ -51,5 +51,8 @@
 		psMetadata *updates = psMetadataAlloc();
 
-		psastroOneChip (fpa, chip, refstars, rawstars, recipe, updates);
+		if (!psastroOneChip (fpa, chip, refstars, rawstars, recipe, updates)) {
+		    psError (PSASTRO_ERR_DATA, false, "failed to find a solution\n");
+		    return false;
+		}
 		pmAstromWriteWCS (chip->toFPA, fpa->toSky, updates, plateScale);
 		psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
