Skip to content

Conversation

konstin
Copy link
Contributor

@konstin konstin commented Aug 27, 2025

When using a response stream, the network error may be wrapped in other errors. In this case, we only get a reqwest::Error, not a reqwest_middleware::Error and want to apply the default retry strategy for it. As we can only extract a &reqwest::Error, we can't construct a reqwest_middleware::Error, so we need a function that takes a &reqwest::Error.

@konstin konstin requested a review from a team as a code owner August 27, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant