Closed alexblack closed 9 months ago
Are you looking for the code in the catch block to be executed when an error occurs after retries, rather than entering the block where
response.status !== 200
?
I think I misunderstood what was happening here, will close the issue! Thanks
I've got code like this, where any network errors are meant to be caught:
But it seems when using axios-retry, after some retries, an error is thrown and its unhandled.
Ideally I'd love if my catch statement caught the final error.
My config: