Index: branches/pap/psLib/src/fits/psFitsImage.c
===================================================================
--- branches/pap/psLib/src/fits/psFitsImage.c	(revision 28498)
+++ branches/pap/psLib/src/fits/psFitsImage.c	(revision 28534)
@@ -415,5 +415,5 @@
     if (fits_read_subset(fits->fd, info->fitsDatatype, info->firstPixel, info->lastPixel,
                          info->increment, nullValue, output->data.V[0], &anynull, &status) != 0) {
-        psFitsError(status, true, "Reading FITS file failed.");
+        psFitsError(status, true, "Reading FITS file %s failed.", fits->fd->Fptr->filename);
         return false;
     }
