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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we use an adapter for our faraday connection #20

Merged
merged 1 commit into from Oct 11, 2017

Conversation

manmartinez
Copy link
Contributor

What's this PR do?

When adding middleware to the faraday connection we need to be explicit about which adapter we'll use, otherwise no HTTP requests are actually made.

Sadly, Faraday doesn't raise an exception if the adapter is missing and you end up debugging cryptic error messages raised from the middleware 馃惣

For more information see: lostisland/faraday#317

Copy link
Contributor

@jrusso1020 jrusso1020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go 馃憤

When adding middleware to the faraday connection we need to
be explicit about which adapter we'll use, otherwise no HTTP
requests are actually made.

Sadly, Faraday doesn't raise an exception if the adapter is
missing and you end up debugging cryptic error messages raised
from the middleware 馃惣

For more information see:
lostisland/faraday#317
@manmartinez manmartinez merged commit c405537 into master Oct 11, 2017
@manmartinez manmartinez deleted the use-faraday-adapter branch October 11, 2017 20:29
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