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

Sentry error handling exposes SentryGroupNotFoundException externally

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Flags:
      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
          kalyan kumar kalvagadda
        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

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

                Dates

                • Created:
                  Updated:
                  Resolved: