Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable Faraday raise_error middleware conditionally #1

Merged
merged 1 commit into from
May 3, 2023

Conversation

karun-thatch
Copy link
Contributor

It would be useful to raise errors so that consumers can access the HTTP response code, which can be used to conditionally retry for 5xx errors that may be transient.

@andreibondarev
Copy link
Collaborator

@karun-thatch Thank you for your contribution! Shipping and cutting a new tag and gem version shortly.

@andreibondarev andreibondarev merged commit 9e2be22 into patterns-ai-core:master May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants