mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
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_test.go | ||
client.go | ||
errors.go |