-
-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
I'm using cross-fetch in a number of projects since it allows polymorphic code across react-native, node and browser. The library has quite a bit of traction at this point (in use by 301K projects as of this writing according to github).
Currently this library doesn't support the network error text that is emitted by cross-fetch
when a network error occurs. So it treats it as a general error and does not retry.
https://github.com/lquixada/cross-fetch/blob/main/dist/browser-ponyfill.js#L480
Would be great if p-retry could include this error into the list of networkErrorMsgs
Metadata
Metadata
Assignees
Labels
No labels