SCISOFT NCD: SCI-1633 improve error handling in NCD data reduction
pipeline