mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-31 03:00:18 -05:00
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