You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Zach Amsden (JIRA)" <ji...@apache.org> on 2017/12/02 00:32:00 UTC
[jira] [Updated] (SENTRY-2085) Sentry error handling exposes
SentryGroupNotFoundException externally
[ https://issues.apache.org/jira/browse/SENTRY-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zach Amsden updated SENTRY-2085:
--------------------------------
Attachment: SENTRY-2085.001.patch
> Sentry error handling exposes SentryGroupNotFoundException externally
> ---------------------------------------------------------------------
>
> Key: SENTRY-2085
> URL: https://issues.apache.org/jira/browse/SENTRY-2085
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Zach Amsden
> Attachments: SENTRY-2085.001.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)