softonic / axios-retry

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

feat: expose axios-retry options in error object #248

Closed alexandre-abrioux closed 1 year ago

alexandre-abrioux commented 1 year ago

This PR aims to expose the plugin options inside error objects. This should close https://github.com/softonic/axios-retry/issues/166

mindhells commented 1 year ago

@alexandre-abrioux, thanks a lot for your contribution, it looks great to me.

@yutak23 would you mind having a look? You have been the most active and recent contributor so far, it would be great to have your feedback on this.

yutak23 commented 1 year ago

@alexandre-abrioux, thanks a lot for your contribution, it looks great to me.

@yutak23 would you mind having a look? You have been the most active and recent contributor so far, it would be great to have your feedback on this.

I have taken a look at it. From what I see, I think the change here is fine.

mindhells commented 1 year ago

Published as 3.8.2, thank you both!