Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) Error #61

Open
tonai opened this issue Apr 30, 2019 · 0 comments
Open

Uncaught (in promise) Error #61

tonai opened this issue Apr 30, 2019 · 0 comments

Comments

@tonai
Copy link

tonai commented Apr 30, 2019

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant