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

Use go error wrapping on header writing for easier error handling #277

Merged
merged 1 commit into from Jan 12, 2021

Conversation

vansante
Copy link
Contributor

Followup on #276

I now get errors like these:

path/to/file: making header: write tcp 10.2.0.6:8080->10.99.12.11:52284: write: broken pipe

I would like to filter these too :)

Copy link
Owner

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Sounds good, thanks for the use case!

@mholt mholt merged commit 074da64 into mholt:master Jan 12, 2021
@vansante vansante deleted the use-err-wrapping-2 branch January 12, 2021 22:04
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

2 participants