1c1df6dc50
Non-HTTP errors previously resulted in a panic due to dereferencing the resp pointer while it was nil, as part of rendering the error message. This commit changes the error message formatting to cope with a nil response, and extends test coverage. Fixes #24384 |
||
---|---|---|
.. | ||
regsrc | ||
response | ||
test | ||
client.go | ||
client_test.go | ||
errors.go |