softonic / axios-retry

Axios plugin that intercepts failed requests and retries them whenever possible
Other
1.9k stars 167 forks source link

Query: How can I determine that a request is from axios-retry #186

Closed ritwikvd closed 3 years ago

ritwikvd commented 3 years ago

Is there anyway this is possible? I have an interceptor that logs errors to an API, and I would like to log it once for the original failed request and avoid duplicates that would be caused by subsequent retry failures.

mindhells commented 3 years ago

maybe you want to carry on with #160 as it seems author gave up with it