Skip to content

Conversation

acdha
Copy link
Contributor

@acdha acdha commented Feb 25, 2014

The docs don't currently make it clear that an exception will be thrown again after Raven.context records it.

(This does raise a side question of whether it'd be useful to have a helper which absorbs caught exceptions to reduce the need for try / catch blocks all over the place)

The docs don't currently make it clear that an exception will be thrown again after Raven.context records it.

(This does raise a side question of whether it'd be useful to have a helper which absorbs caught exceptions to reduce the need for try / catch blocks all over the place)
mattrobenolt added a commit that referenced this pull request Feb 25, 2014
Clarify that Raven.context rethrows exceptions
@mattrobenolt mattrobenolt merged commit 42352cd into getsentry:master Feb 25, 2014
@mattrobenolt
Copy link
Contributor

The behavior is such so that it's transparent. Your app is still in charge of handling it's own exceptions. If an uncaught exception goes by without being raised, that may cause undesirable results in your application. So we just log it, then re-raise to maintain existing behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants