You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I also get a unhandled error in the console (which is not happening with the plain axios-setup)
HTTP Failure in Axios Error: Wrong username or passord.
at App.js:22
at tryCallOne (core.js:37)
at core.js:123
at JSTimers.js:295
at _callTimer (JSTimers.js:148)
at _callImmediatesPass (JSTimers.js:196)
at Object.callImmediates (JSTimers.js:464)
at MessageQueue.__callImmediates (MessageQueue.js:282)
at MessageQueue.js:137
at MessageQueue.__guard (MessageQueue.js:269)
The text was updated successfully, but these errors were encountered:
Have a case where an api do not return the correct error-status with request that fails, so I have added an interceptors in the axios-request
This works fine with a plain axios, a request that contain a status-fields which is 'error', can be catched in the promise:
With redux-axios-middleware I can get the action to fail with
returnRejectedPromiseOnError
option in config:But I also get a unhandled error in the console (which is not happening with the plain axios-setup)
The text was updated successfully, but these errors were encountered: