Skip to content

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