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

contrib/net/http: never return other errors than the original #370

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Dec 5, 2018

Our wrappers should only minimally augment components with telemetry and
should never touch original responses such as errors.

@gbbr gbbr added this to the 1.7.0 milestone Dec 5, 2018
Our wrappers should only minimally augment components with telemetry and
should never touch original responses such as errors.
Copy link

@pawelchcki pawelchcki left a comment

Choose a reason for hiding this comment

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

Looks good +1 for not hiding the error cause anymore

@gbbr gbbr merged commit 26227cf into v1 Dec 5, 2018
@gbbr gbbr deleted the gbbr/no-error branch December 5, 2018 12:14
@mpuncel
Copy link
Contributor

mpuncel commented Dec 5, 2018

Thanks for this! Just ran into this today in a funny coincidence

@gbbr
Copy link
Contributor Author

gbbr commented Dec 5, 2018

Yeah, sorry about that. Quite unfortunate.

mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
…g#370)

Our wrappers should only minimally augment components with telemetry and
should never touch original responses such as errors.
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.

None yet

3 participants