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

Only include full schema in error message with --verbose #106

Open
clenk opened this issue Dec 3, 2019 · 0 comments
Open

Only include full schema in error message with --verbose #106

clenk opened this issue Dec 3, 2019 · 0 comments

Comments

@clenk
Copy link
Contributor

clenk commented Dec 3, 2019

In errors.py, the validator overwrites and "pretties up" error messages from the jsonschema library. If the code doesn't have a case for the error from jsonschema it just outputs the error and appends the full schema that caused the error. This results in very long error messages; we should only append the full schema if the --verbose option is in use.

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