Index: trunk/ippToPsps/jython/gpc1db.py
===================================================================
--- trunk/ippToPsps/jython/gpc1db.py	(revision 40278)
+++ trunk/ippToPsps/jython/gpc1db.py	(revision 40279)
@@ -511,6 +511,8 @@
             files = glob.glob(pathBase + ".cmf")
 
+        if len(files) < 1:
+            self.logger.errorPair("No files found for forced warp path", pathBase)
+            return None
         
-        if len(files) < 1: return None
         fits = Fits(self.logger, self.config, files[0])
         self.logger.infoPair("cmf file",files[0])
@@ -770,4 +772,5 @@
                WHERE camRun.cam_id = %d" % camID \
                + " AND warpRun.state != 'drop'"
+
         try:
             rs = self.executeQuery(sql)
@@ -854,5 +857,4 @@
         files = []
 
-
         #there are a couple of states for smfversion
 
@@ -865,5 +867,4 @@
         #    use (file).smf if camRun.state = 'full' and if there is only a .smf
         #    fault out if camRun.state != 'full' -- that is a race condition we don't want.
-       
         
         if (smfversion == "not_reproc") or (smfversion == "use_new"):
@@ -940,5 +941,7 @@
 
         self.logger.infoPair("smf files:", files)
-        if len(files) < 1: return None
+        if len(files) < 1:
+            self.logger.errorPair("No files found for cam path", path)
+            return None
 
         return Fits(self.logger, self.config, files[0]) # TODO just returning first file - check
@@ -1010,5 +1013,7 @@
 
         # print "stack cmf files:", files
-        if len(files) < 1: return None
+        if len(files) < 1:
+            self.logger.errorPair("No files found for stack path", pathBase)
+            return None
 
         # if we get here, then the cmf is readable, now check the stack_id
