Changeset 22431
- Timestamp:
- Feb 24, 2009, 3:30:49 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsHeader.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsHeader.c
r21028 r22431 666 666 break; 667 667 default: // all other META types are ignored 668 ps Warning("Attempt to write metadata %s of type %x to FITS header ignored.\n",669 item->name, item->type);670 break;668 psError("Unable to write metadata item %s of type %x to FITS header\n", 669 item->name, item->type); 670 return false; 671 671 } 672 672 } … … 675 675 char fitsErr[MAX_STRING_LENGTH]; 676 676 (void)fits_get_errstatus(status, fitsErr); 677 psError(PS_ERR_IO, true, _("Could not write data to file. CFITSIO Error: %s"), fitsErr); 677 psError(PS_ERR_IO, true, 678 _("Could not write metadata item %s of type %x to FITS header.\nCFITSIO Error: %s"), 679 item->name, item->type, fitsErr); 678 680 return false; 679 681 }
Note:
See TracChangeset
for help on using the changeset viewer.
