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

Simplify pydantic validation exception for loading config file #308

Open
johannaengland opened this issue Jul 9, 2024 · 0 comments
Open
Labels
cleanup post-zino2.0 These are features Zino1 does not have, but might be desired later

Comments

@johannaengland
Copy link
Contributor

We already have a way of presenting the pydantic exceptions in a nicer way when validating the poll file. We should do something similar for the exception that happen when validating the config file:

zino/src/zino/zino.py

Lines 55 to 57 in 66c22f0

except ValidationError as e:
_log.fatal(e)
sys.exit(1)

@johannaengland johannaengland added cleanup post-zino2.0 These are features Zino1 does not have, but might be desired later labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup post-zino2.0 These are features Zino1 does not have, but might be desired later
Projects
None yet
Development

No branches or pull requests

1 participant