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

Provide schema information on error #20

Open
johntrimble opened this issue Sep 21, 2020 · 0 comments
Open

Provide schema information on error #20

johntrimble opened this issue Sep 21, 2020 · 0 comments

Comments

@johntrimble
Copy link
Collaborator

When config builder errors out, we get errors like the following:

Error processing request: throw+: {:type :InvalidConfigKeys, :message "Invalid config keys for DSE version 4.0.0: jvm-server"}

These errors are not exactly the most helpful error messages imaginable. When invalid input is provided, we should give some feedback as to what a valid option might be. In this case, only so many values are possible at this level of the schema, so we could just list them. If we did that, one would realize they should have used "jvm-server-options" instead of "jvm-server". Without that, it's a frakking mystery why it's not working.

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