-
Notifications
You must be signed in to change notification settings - Fork 989
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
misc: fix some sentry captures #16284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with these, however I wonder if we'll see dual-reporting for the same issue, and thus not need a capture_message()
call alongside capture_exception()
Yeah, I was wondering about that -- if this is too noisy in practice, I can drop it to just the |
If |
Cool, removing then! |
Although... IIRC the reason we were using |
Ah, that rings a bell -- yeah, I think the issue here was that some of these exceptions were I'll push up what I have here, but another option would be to re-introduce scope.fingerprint = ["some-distinguishing-key", exc] |
What is the problem with the current usage of |
Apparently (@miketheman observed this -- maybe it's a recent change in the Sentry API?) |
Can't we just do |
Yep, that's a lot simpler. Sorry, my brain is thoroughly fried -- I've been at a Homebrew hackathon for the last 72 hours 🙂 I'll rework this PR... |
Signed-off-by: William Woodruff <[email protected]>
Gentle ping for merge 🙂 |
These were using
fingerprint
incorrectly;I've removed their custom scopes and made them
use the top-level APIs instead, since the scope
isn't adding much more.