-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
exclude fetchApi "Failed to fetch" from ignores #37
Comments
Who thought it was a good idea for Fetch to throw a Slightly relevant issue: whatwg/fetch#526 |
But yes, we should exclude this. Also needs to be documented. |
I'm also happy to put a PR in place |
Yes. PR welcome :) |
+1, this is a bit unexpected when people use retry to mitigate network errors from fetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, as the API states, you discard instance of
TypeError
, however, the fetchApiFailed to fetch
exception is of typeTypeError
.One of the common reasons that this error occurs can be network connection issues.
Is it possible to include this exception?
The main reason I want to add a retry mechanism is incase the user had a bad internet connection during that second where the request was going out
From Fetch documentation:
Current workaround:
Thanks
The text was updated successfully, but these errors were encountered: