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

cmdLineTask can raise an exception logging a fatal message about dataIds

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_base
    • Labels:
      None
    • Templates:
    • Story Points:
      0.1
    • Sprint:
      Science Pipelines DM-W16-2, Science Pipelines DM-W16-3
    • Team:
      Data Release Production

      Description

      When TaskRunner.__call__ fails it attempts to log a message

      task.log.fatal("Failed on dataId=%s: %s" % (dataRef.dataId, e))
      

      Unfortunately, dataRef can be a list, in which case this statement throws an exception itself and the real problem is lost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhl Robert Lupton
                Reporter:
                rhl Robert Lupton
                Reviewers:
                Lauren MacArthur
                Watchers:
                Lauren MacArthur, Paul Price, Robert Lupton, Simon Krughoff
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel