Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release jobs which cause exceptions back to the queue #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Release jobs which cause exceptions back to the queue #23

wants to merge 1 commit into from

Conversation

tremby
Copy link

@tremby tremby commented Feb 26, 2015

From @pulkitjalan's patch 5ae35ae

If an exception is encountered while working on a queued job to submit an error to Sentry, this exception would be caught and added to the queue as another job. This can snowball and cause all sorts of problems; see #14.

Instead, catch any exception thrown when trying to submit an error and ignore it, instead releasing the original error submission job back to the queue after a delay.

Note that this does not protect against similar issues when synchronously submitting error reports.

This fixes #14 and possibly #16.

From @pulkitjalan's patch 5ae35ae

If an exception is encountered while working on a queued job to submit
an error to Sentry, this exception would be caught and added to the
queue as another job. This can snowball and cause all sorts of
problems.

Instead, catch any exception thrown when trying to submit an error and
ignore it, instead releasing the original error submission job back to
the queue after a delay.

Note that this does not protect against similar issues when
synchronously submitting error reports.
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.

Handling exceptions caused when sending exceptions to Sentry
1 participant