opendal icon indicating copy to clipboard operation
opendal copied to clipboard

feat: also log endpoint URL when failure

Open ClSlaid opened this issue 2 years ago • 1 comments

For applications that communicate simultaneously with multiple endpoints, failing with endpoint URL logged will help developers checking which URL is the source of error.

ClSlaid avatar Feb 20 '23 05:02 ClSlaid

Maybe it's better to wrap our own request type so that we don't need to add err.with_context(url, &url) for every request build.

Xuanwo avatar Feb 20 '23 09:02 Xuanwo