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

sentry v0.11.0 -> v0.28.1; resolves http/resp.GenericErr skip frame bug #85

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

DavidLarsKetch
Copy link
Collaborator

Bump that sentry version up.

There's a small bug with http/resp.GenericErr that it captures the responder pkg's frame for GenericErr instead of the frame before it, which would be the caller's frame. This PR resolves that.

@DavidLarsKetch
Copy link
Collaborator Author

I think I overestimated what Sentry was going to do with error unwrapping, but it doesn't appear to change anything about our usage. So, at least we're now current on our sdk version.

Dsn: dsn,
Environment: env.String(),
IgnoreErrors: []string{"write: broken pipe"},
MaxErrorDepth: 2,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't appear we wrap more than twice in our projects, so this seems like a sane default in line with Sentry's advice to keep it brief.

I also didn't see a change in exception handling when I wrapped a bunch of errors and changed this number, so 🤷

@DavidLarsKetch DavidLarsKetch merged commit 33a6b07 into main Aug 21, 2024
1 check passed
@DavidLarsKetch DavidLarsKetch deleted the dlk/sentry-bump branch October 23, 2024 14:58
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.

1 participant