terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

[BUG]: rest api swallows all errors (in order to allow for 404's)

Open riezebosch opened this issue 1 year ago • 0 comments

Expected Behavior

currently decode of json fails for certain response types, but since all exceptions that come out of the rest client are ignored there's just null stored in state.

Actual Behavior

check explicitly for the response status (in case you want allow 404 as expected behaviour).

Terraform Version

v6.0.0

Affected Resource(s)

  • data_source_github_rest_api

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

riezebosch avatar Feb 17 '24 16:02 riezebosch