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

Please do not use Exception.message

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • obs_cfht
    • None
    • 0.1
    • DRP S17-3
    • Data Release Production

    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

            Hey Tim, could you take a quick look please?

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

            Same patch as used in DM-9276.

            tjenness Tim Jenness added a comment - Same patch as used in DM-9276 .

            Thanks; merged.

            swinbank John Swinbank added a comment - Thanks; merged.

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.