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

bugfix: build upon default sentry-go transport config #3643

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

RaghavSood
Copy link
Contributor

@RaghavSood RaghavSood commented Jun 18, 2024

Directly initializing the HTTPSyncTransport struct results in the non-exported limits map being nil, which can cause a panic in sentry-go under certain conditions

Change Summary

Fixes: #3642

What and Why: By setting the timeout on the default HTTPSyncTransport returned by NewHTTPSyncTransport, we avoid a panic within the sentry-go SDK

How:

Related to:


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

Directly initializing the NewHTTPSyncTransport struct results in the non-exported limits map being nil, which can cause a panic in sentry-go under certain conditions
@dangra dangra merged commit 069b987 into superfly:master Jun 18, 2024
7 checks passed
@dangra
Copy link
Member

dangra commented Jun 18, 2024

thanks @RaghavSood !

@RaghavSood RaghavSood deleted the sentry-go/init-fix branch June 19, 2024 03:31
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.

panic when running deploy_test.go with tags=production
2 participants