-
Notifications
You must be signed in to change notification settings - Fork 72
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
fix(retry): better error #501
base: v2stable
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should make the CI pass. Without this change, do the tests pass locally?
yeah it passes locally, maybe it's too specific to the env of test execution then? |
My guess is that you have a process running on your localhost that accepts connections (but return an SSL error), and for the CI that's not the case. Maybe instead of checking the error message exactly, you can check the keys in the hash that's returned instead so we know that an error per host is provided. WDYT? |
Describe your change
AlgoliaUnreachableHostError
when a request failsWhat problem is this fixing?
saving time when debugging a connection issue with more info about what is happening