oakad opened a new issue, #971:
URL: https://github.com/apache/iceberg-go/issues/971
### Apache Iceberg version
main (development)
### Please describe the bug 🐞
Under some circumstances, s3 table bucket will return a non-200 response
body of the following form:
`
{"message": "unfortunate things...."}
`
This will not parse correctly in the `handleNon200` method:
https://github.com/apache/iceberg-go/blob/f026751eee9710275b6e25590a3388d1e816fcc4/catalog/rest/rest.go#L371
Moreover, the json decoder will not report any errors either.
As a result, the returned error's `Error()` method returns an empty string,
in a most unhelpful fashion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]