Skip to content

Differentiate network errors from failed validations - #293

Open
rubicae wants to merge 1 commit into
EFForg:masterfrom
rubicae:validation-distinguish-network-error
Open

Differentiate network errors from failed validations#293
rubicae wants to merge 1 commit into
EFForg:masterfrom
rubicae:validation-distinguish-network-error

Conversation

@rubicae

@rubicae rubicae commented Feb 5, 2020

Copy link
Copy Markdown
Contributor

Currently, if a network error is encountered while making a POST request to the API server's validation endpoint, the frontend will report that validation failed when in fact, it may simply be the network connection that failed. This PR differentiates between the two cases and informs the user of what happened. Further information: https://stackoverflow.com/a/28404728

@rubicae
rubicae requested a review from m0namon February 14, 2020 03:07
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

Successfully merging this pull request may close these issues.

1 participant