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

Send stack trace to Sentry when refresh_queries fails to enqueue #4780

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Apr 6, 2020

What type of PR is this? (check all applicable)

  • Bug Fix

Description

When refresh_queries fails to enqueue a certain query (or determine its schedule), a message is sent to Sentry. That message contains the exception type and message, but does not include the stack trace. This PR replaces Sentry's capture_message with capture_exception to enable the stack trace to be sent as well.

@rauchy rauchy requested a review from arikfr April 6, 2020 21:40
@rauchy rauchy merged commit 6a5445b into master Apr 8, 2020
@rauchy rauchy deleted the capture-stack-trace-on-enqueue-failures branch April 8, 2020 13:34
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