Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_base
-
Labels:None
-
Team:Data Access and Database
Description
A fatal TaskError in CmdLineTasks does not return a non-zero exit code unless --doraise is specified. For example, this command (taken from DM-10755) failed with a TaskError from
here and can be reproduced on lsst-dev:
forcedPhotCcd.py /datasets/hsc/repo --rerun DM-10404/WIDE:private/username/xxx --id ccd=100 visit=32254 |
This gave an exit code of 0. If --doraise is added to the command line, it gave 1. The stack w_2017_17 was used.
This seems very relevant to DM-4141, or arguably duplicate, although that ticket seemed to focus on the precall part.
That's a good reason.
Hsin-Fang Chiang, unless you feel strongly enough about this to get RFC approval and developer time for such an extensive change, I think we should close this WONTFIX.