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
Hi,
I got a problem with error handling.
When you've got an error in an async action you get the error flag in the FSA and that 's great, because, with that, you might want to handle the error in the reducer and, for example, display the error message in a nice way.
But when the promise is rejected, I also got the "Unhandled Rejection (Error): [error message]" which causes my app to crash...
How can I recover from that ?
How can I handle the error in my reducer ?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
I got a problem with error handling.
When you've got an error in an async action you get the error flag in the FSA and that 's great, because, with that, you might want to handle the error in the reducer and, for example, display the error message in a nice way.
But when the promise is rejected, I also got the "Unhandled Rejection (Error): [error message]" which causes my app to crash...
How can I recover from that ?
How can I handle the error in my reducer ?
Thanks,
The text was updated successfully, but these errors were encountered: