Index: /branches/eam_branches/20100225/psphot/src/psphotReadout.c
===================================================================
--- /branches/eam_branches/20100225/psphot/src/psphotReadout.c	(revision 27500)
+++ /branches/eam_branches/20100225/psphot/src/psphotReadout.c	(revision 27501)
@@ -91,11 +91,10 @@
         return psphotReadoutCleanup (config, view);
     }
-    if (!strcasecmp (breakPt, "MOMENTS")) {
-        return psphotReadoutCleanup(config, view);
-    }
-
     // if we were not supplied a PSF model, determine the IQ stats here (detections->newSources)
     if (!psphotImageQuality (config, view)) { // pass 1
         psError (PSPHOT_ERR_UNKNOWN, false, "failed to measure image quality");
+        return psphotReadoutCleanup(config, view);
+    }
+    if (!strcasecmp (breakPt, "MOMENTS")) {
         return psphotReadoutCleanup(config, view);
     }
