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
i noticed the response i can use in redux is different from the one i get in the interceptors.
The error object on the interceptor has all the properties i need, but it looses those on the way to redux.
This is how the error is build that i can use in the redux store. Note, that error.response is checked but even if it exists it is not used.
I got everything working with this change:
else {
errorObject = error.response;
}
I can submit a pull request for this change, but i do not know if any collaborators are still active in this repo.
Much thanks!
The text was updated successfully, but these errors were encountered:
hello,
i noticed the response i can use in redux is different from the one i get in the interceptors.
The error object on the interceptor has all the properties i need, but it looses those on the way to redux.
This is how the error is build that i can use in the redux store. Note, that error.response is checked but even if it exists it is not used.
I got everything working with this change:
I can submit a pull request for this change, but i do not know if any collaborators are still active in this repo.
Much thanks!
The text was updated successfully, but these errors were encountered: