Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2085

Sentry error handling exposes SentryGroupNotFoundException externally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • None
    • None
    • Patch

    Description

      The fix for SENTRY-769 allowed better differentiation of Sentry errors but also unnecessarily leaked exceptions outside of well defined API components. This happens because the exception chosen, SentryGroupNotFoundException was created of a subclass of RuntimeError, allowing it to propagate past API boundaries without 'throws' or 'catch' clauses.

      Attachments

        1. SENTRY-2085.006.patch
          44 kB
          Krishna Kalyan
        2. SENTRY-2085.004.patch
          44 kB
          Zach Amsden
        3. SENTRY-2085.003.patch
          42 kB
          Zach Amsden
        4. SENTRY-2085.002.patch
          39 kB
          Zach Amsden
        5. SENTRY-2085.001.patch
          35 kB
          Zach Amsden

        Issue Links

          Activity

            People

              zamsden Zach Amsden
              zamsden Zach Amsden
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: