Closed kierancott closed 4 years ago
Commit https://github.com/develop-me/bagajob/pull/42/commits/71f2d3db06470aa0dec8e0587e336abee79b7e55
Action:
Result:
Instead of the app crashing due to unprocessable entity, the below error is shown:
Hey Kieran,
I'm still seeing this testing on my side. I do see the error message briefly on the screen, but then it bombs out again with the unhandled promise rejection:
I've checked again, and I'm struggling to reproduce that behaviour.
It's handling the rejection and rendering the error below the form.
Fixed by commit https://github.com/develop-me/bagajob/pull/42/commits/b68f7d7c0eec210c3aa2d5f9e91c14a6db8006e8 (thanks, Nik!)
Resolved!
Error: App crashes (code 422) with no error handling
Issue: registering an account with an email that was already in the database returns the below error - no error handling exists for this behaviour
Action: provide the user with an error message