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

Handle submission errors more gracefully #384

Open
janine9vn opened this issue Dec 26, 2021 · 0 comments
Open

Handle submission errors more gracefully #384

janine9vn opened this issue Dec 26, 2021 · 0 comments
Assignees

Comments

@janine9vn
Copy link
Contributor

Description

Show an error message on the form if the server responds with an unhandled error code during submission.

Handling of common errors such as malformed or missing input is already covered, but other unexpeted errors should be accounted for, as the forms currently load forever with no indication of error to the end-user.

Implementation

Add a check for the result of the submission post on the form page, and handle it as needed. There should be enough details for the user to have a clear course of action. Some errors such as timeouts would probably have the user retry the request, while others might ask the user to contact us.

@janine9vn janine9vn self-assigned this Mar 15, 2022
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