crepererum commented on issue #6377:
URL: https://github.com/apache/arrow-rs/issues/6377#issuecomment-2407142055

   > Perhaps we could reframe this issue as a concrete, what would I like to be 
in the output that currently is not
   
   Fine with me. I think #5882 provides a good example. The `reqwest` error 
that is stringified only says `error decoding response body` which is somewhat 
misleading w/o looking at the error chain. It sounds like the body data is 
malformed or the data got scrambled, but if you walk the error chain you'll 
often see it's simply a timeout that occurred while fetching the body bytes. So 
I wonder if we should wrap `reqwest::Error` into another error type that tries 
to extract SOME useful information (it could itself walk the chain and find the 
underlying IO error for example).


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