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

Fix catching of generic Exceptions

    Details

    • Templates:
    • Epic Name:
      generic Exceptions

      Description

      There are a lot of except Exception blocks in our code. These blocks often just swallow the error, either logging a message or just continue-ing without saying anything. In almost every case (I can't prove it's every case without further exploration), we should only catch a very specific and short list of exceptions. The same applies to except lsst.pex.exceptions.Exception and except pexExcept.Exception.

      I'm making this an epic as I started filling in the components list and ended up with just about every LSST owned package, so I figure this is best done on a package-by-package basis, or at least on groups of packages.

      Filing as critical, as we already know of cases where this bug has hidden other problems (e.g. DM-13803).

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  Parejkoj John Parejko
                  Watchers:
                  Hsin-Fang Chiang, Jim Bosch, John Parejko, John Swinbank, Kian-Tat Lim, Krzysztof Findeisen, Merlin Fisher-Levine, Michael Wood-Vasey, Russell Owen, Tim Jenness, Yusra AlSayyad
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Summary Panel