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

Errors are being uncaught when using with redux-form #2

Open
zomars opened this issue Sep 19, 2018 · 3 comments
Open

Errors are being uncaught when using with redux-form #2

zomars opened this issue Sep 19, 2018 · 3 comments

Comments

@zomars
Copy link

zomars commented Sep 19, 2018

The form still works, but when I get an error the browser logs an Uncaught (in promise) {_error: "Contraseña invalida"} error.

This seems because the error is not being catched with a .catch() function, I could be wrong tho.

Sorry if I'm being oblivious but I'm still wrapping my head in some of these concepts.

Any guidance would be greatly appreciated.

@zomars
Copy link
Author

zomars commented Sep 19, 2018

I've tried to make a minimal test case: https://codesandbox.io/s/qqwn5vn1rj

@zomars
Copy link
Author

zomars commented Sep 20, 2018

I've updated the test case, to post to a fake server and I can replicate the Uncaught (in promise) error.

@zomars
Copy link
Author

zomars commented Sep 21, 2018

I've made a workaround: https://codesandbox.io/s/7znyol6p2j

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