Index: branches/eam_branches/ipp-ops-20130712/ppSub/src/ppSubMatchPSFs.c
===================================================================
--- branches/eam_branches/ipp-ops-20130712/ppSub/src/ppSubMatchPSFs.c	(revision 37064)
+++ branches/eam_branches/ipp-ops-20130712/ppSub/src/ppSubMatchPSFs.c	(revision 37068)
@@ -156,6 +156,13 @@
     psLogMsg("ppSub", PS_LOG_INFO, "Input FWHM: %f\nReference FWHM: %f\n", inFWHM, refFWHM);
     if (!isfinite(inFWHM) || !isfinite(refFWHM)) {
+#ifdef SET_QUALITY_INSTEAD_OF_ERROR
+        psErrorStackPrint(stderr, "Cannot determine FHWM for images, giving up.");
+        int error = psErrorCodeLast(); // Error code
+        ppSubDataQuality(data, error, PPSUB_FILES_ALL);
+        return true;
+#else
         psError(PPSUB_ERR_DATA, false, "Cannot determine FHWM for images, giving up.");
         return false;
+#endif
     }
 
