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

Please do not use Exception.message

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_cfht
    • Labels:
      None

      Description

      In Python 2, we can use Exception.message to retrieve the message associated with a (wrapped, C++) exception. In Python 3 this no longer works. This breaks the obs_cfht tests; please fix them.

      This was already fixed on the pybind11 port as part of DM-9276.

        Attachments

          Issue Links

            Activity

            Hide
            swinbank John Swinbank added a comment -

            Thanks; merged.

            Show
            swinbank John Swinbank added a comment - Thanks; merged.
            Hide
            tjenness Tim Jenness added a comment -

            Same patch as used in DM-9276.

            Show
            tjenness Tim Jenness added a comment - Same patch as used in DM-9276 .
            Hide
            swinbank John Swinbank added a comment -

            Hey Tim, could you take a quick look please?

            Show
            swinbank John Swinbank added a comment - Hey Tim, could you take a quick look please?

              People

              Assignee:
              swinbank John Swinbank
              Reporter:
              swinbank John Swinbank
              Reviewers:
              Tim Jenness
              Watchers:
              John Swinbank, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.