Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11730

Clarify Tasks' error-handling behavior

    Details

      Description

      The documentation at https://pipelines.lsst.io/v/DM-11253/modules/lsst.pipe.base/command-line-task-argument-reference.html does not make it clear how Tasks, and Command-Line Tasks in particular, handle errors. The documentation for --noExit says that the caller is responsible for error-handling if that flag is used, but does not say how it can do so (presumably there's a failure flag in the returned object somewhere?). Also, it is not clear how --doRaise and --noExit interact with each other (nor any mention of them being mutually exclusive).

      Please clarify these points in the documentation.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  jsick Jonathan Sick
                  Reporter:
                  krzys Krzysztof Findeisen
                  Watchers:
                  Jonathan Sick, Krzysztof Findeisen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Summary Panel