matthewfollegot opened a new issue, #5607:
URL: https://github.com/apache/arrow-rs/issues/5607

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   Currently, error responses are limited to a seemingly short summary of the 
entire error response from the store (e.g. S3). 
   Here's an example error
   ```
   "Generic S3 error: Error after 0 retries in 30.16539508s, max_retries:10, 
retry_timeout:300s, source:error sending request for url 
(https://s3.ap-northeast-1.amazonaws.com/<bucket>/<key>): operation timed out"
   ```
   
   In order to further debug these errors and do things such as opening a 
support ticket with S3, it would be extremely helpful to include the attributes 
listed in the S3 docs 
[here](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses),
 some examples being the error code, message, and especially the request ID.
   
   **Describe the solution you'd like**
   Update all relevant or just the `Generic` variant of the 
[`object_store::Error`](https://docs.rs/object_store/latest/object_store/enum.Error.html)
 with the fields mentioned above and propagate the errors from the store to the 
caller.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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]

Reply via email to