- Timestamp:
- Mar 5, 2009, 11:13:29 AM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090215
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/fits/psFitsHeader.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215
-
branches/cnb_branches/cnb_branch_20090215/psLib/src/fits/psFitsHeader.c
r21028 r23197 666 666 break; 667 667 default: // all other META types are ignored 668 psWarning("Attempt to write metadata %s of type %x to FITS header ignored.\n", 669 item->name, item->type); 670 break; 668 psError(PS_ERR_IO, true, 669 "Unable to write metadata item %s of type %x to FITS header", 670 item->name, item->type); 671 return false; 671 672 } 672 673 } … … 675 676 char fitsErr[MAX_STRING_LENGTH]; 676 677 (void)fits_get_errstatus(status, fitsErr); 677 psError(PS_ERR_IO, true, _("Could not write data to file. CFITSIO Error: %s"), fitsErr); 678 psError(PS_ERR_IO, true, 679 _("Could not write metadata item %s of type %x to FITS header.\nCFITSIO Error: %s"), 680 item->name, item->type, fitsErr); 678 681 return false; 679 682 }
Note:
See TracChangeset
for help on using the changeset viewer.
