net/http: wrap more errors? #36713
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
While trying to understand some net/http errors, I found that many net/http errors don't wrap their underlying errors yet (run
grep -R "fmt.Errorf.*%v" net/http
to see some).@bradfitz are you open to making the default be to wrap errors in net/http? That is, can someone do a somewhat indiscriminate pass through net/http, wrapping errors everywhere they see an opportunity to do so?
The text was updated successfully, but these errors were encountered: