net/http: Client does not wrap context errors #50856
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Issue not reproducible on go playground.
https://go.dev/play/p/NfEhKnRBFuv
What did you expect to see?
What did you see instead?
This is because the errors are wrapped like this:
Second error could easily wrap
context.DeadlineExceeded
The text was updated successfully, but these errors were encountered: