Skip to content

Uncaught (in promise) Error #61

@tonai

Description

@tonai

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions