Fixes #53 -- Silent PSF fit fatal error by throwing a std::runtime_error() exception when SPECEX_ERROR() is called.
Verified this solution by hardcoding a call to SPECEX_ERROR when a specific camera string is in the arc preproc exposure image file name and verifying that the PSF for that camera is not written, an error is logged, the rest of the PSFs are written, and the job proceeds normally.
Please verify this is the expected behaviour and merge.
Fixes #53 -- Silent PSF fit fatal error by throwing a
std::runtime_error()
exception whenSPECEX_ERROR()
is called.Verified this solution by hardcoding a call to
SPECEX_ERROR
when a specific camera string is in the arc preproc exposure image file name and verifying that the PSF for that camera is not written, an error is logged, the rest of the PSFs are written, and the job proceeds normally.Please verify this is the expected behaviour and merge.