geowarin / boot-react

A starter application with spring boot and react
MIT License
591 stars 155 forks source link

Axios interceptor doesn't catch timeout error #45

Closed RedasP closed 7 years ago

RedasP commented 7 years ago

When I set config.timeout really low to test what happens when the the timeout is reached I get:

image

and it seems that the "status = cancelled" isn't catched.

RedasP commented 7 years ago

Fixed this by upgrading to the latest axios version https://github.com/axios/axios/issues/226