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

Raise an exception when invalid config #16

Open
Simon-1-1 opened this issue May 23, 2022 · 1 comment
Open

Raise an exception when invalid config #16

Simon-1-1 opened this issue May 23, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Simon-1-1
Copy link
Contributor

If the config cannot be parsed, doesn't contain all necessary values, or there is something wrong with it, an exception should be raised.

@Simon-1-1 Simon-1-1 added the enhancement New feature or request label May 23, 2022
@plaos
Copy link
Contributor

plaos commented May 24, 2022

With #22, we print an error and exit the program with return code 1 if the config is invalid. This is not adequate, as neither writing nor reading validates if it is correct YAML.

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

No branches or pull requests

2 participants