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

Fix jointcal exit status and doRaise handling

    Details

    • Templates:
    • Story Points:
      2
    • Sprint:
      Alert Production F17 - 10
    • Team:
      Alert Production

      Description

      jointcal is giving these warnings since DM-4141 was implemented:

      Unable to retrieve exit status ('Struct' object has no attribute 'exitStatus') 
      

      To fix this, I think I need to do the following:

      • add this to the start of run: exitStatus = 0 # exit status for shell
      • add exitStatus to the returned Struct
      • wrap most of run in try: except:
      • set exitStatus=1 (or some other number) if doRaise is False and something went wrong.

      Anything else I'm missing?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Parejkoj John Parejko
                Reporter:
                Parejkoj John Parejko
                Reviewers:
                Hsin-Fang Chiang
                Watchers:
                Hsin-Fang Chiang, John Parejko, John Swinbank, Paul Price, Robert Lupton
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel