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

Webservice error handling could be improved #9

Open
alisonrclarke opened this issue Mar 3, 2020 · 0 comments
Open

Webservice error handling could be improved #9

alisonrclarke opened this issue Mar 3, 2020 · 0 comments

Comments

@alisonrclarke
Copy link
Contributor

If the hepdata_converter.convert function fails, for example if the YAML does not validate, currently there is no error handling by the web service, so no useful info is passed back to the client.

We could modify the API to send back a 400 error response with an appropriate error message in the case of failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants