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

Return the reason for a validation failure #13

Open
andamian opened this issue Apr 6, 2017 · 2 comments
Open

Return the reason for a validation failure #13

andamian opened this issue Apr 6, 2017 · 2 comments
Labels

Comments

@andamian
Copy link

andamian commented Apr 6, 2017

Exceptions due to attribute invalid values are caught and replaced with an InvalidArgumentException with the message "invalid input: /". This message is passed to the BadRequest Http error and it's the only indication that the users gets making it difficult for them to diagnose the cause.

@pdowler pdowler added the bug label Jun 15, 2017
@pdowler
Copy link
Member

pdowler commented Jan 26, 2018

I will need an example in order to diagnose and fix.

@SharonGoliath
Copy link
Contributor

There is an example in my home directory Cdemo_ext2_SCIRED.fits.xml. github claims it's empty, or it would be here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants