Index: trunk/psastro/src/psastroDataSave.c
===================================================================
--- trunk/psastro/src/psastroDataSave.c	(revision 23753)
+++ trunk/psastro/src/psastroDataSave.c	(revision 27065)
@@ -92,5 +92,9 @@
         pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
 
-        pmConfigDump(config, dump_file);
+        if (!pmConfigDump(config, dump_file)) {
+            psError(psErrorCodeLast(), false, "Unable to dump configuration.");
+            psFree(view);
+            return false;
+        }
     }
 
@@ -100,4 +104,5 @@
 
     psFree (view);
+
     return true;
 }
