Index: /trunk/psastro/src/psastroArguments.c
===================================================================
--- /trunk/psastro/src/psastroArguments.c	(revision 12792)
+++ /trunk/psastro/src/psastroArguments.c	(revision 12793)
@@ -8,4 +8,5 @@
     if (argc == 1) {
 	psError(PSASTRO_ERR_ARGUMENTS, true, "No arguments supplied");
+	psErrorStackPrint(stderr, "exit");
 	return NULL;
     }
@@ -15,4 +16,5 @@
     if (config == NULL) {
         psError(PSASTRO_ERR_CONFIG, false, "Can't read site configuration");
+	psErrorStackPrint(stderr, "exit");
         return NULL;
     }
@@ -59,4 +61,5 @@
     if (!status) {
 	psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");
+	psErrorStackPrint(stderr, "exit");
 	return NULL;
     }
@@ -64,4 +67,5 @@
     if (argc != 2) {
 	psError(PSASTRO_ERR_ARGUMENTS, true, "Incorrect arguments supplied");
+	psErrorStackPrint(stderr, "exit");
 	return NULL;
     }
