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

Improve config validation #9

Open
4TT1L4 opened this issue Jan 2, 2024 · 0 comments
Open

Improve config validation #9

4TT1L4 opened this issue Jan 2, 2024 · 0 comments
Assignees

Comments

@4TT1L4
Copy link
Contributor

4TT1L4 commented Jan 2, 2024

Problem:

  • At the moment the error messages printed when the configuration is not valid is not really good.

When the configuration is not valid, things like the following error are logged:

geniusyield-market-maker-exe: user error (Error in $: object value > ',' or '}': Failed reading: satisfy)

This is not really helpful. Please make sure to print error messages that help to identify the issue. As a bare minimum: add some validation and log the name of the invalid config setting.

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

2 participants