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

make config errors pretty #6

Merged
merged 1 commit into from
Aug 24, 2021
Merged

make config errors pretty #6

merged 1 commit into from
Aug 24, 2021

Conversation

corytodd
Copy link
Owner

This fixes #4 by catching two exceptions:

  1. config file not found
  2. config file invalid

Also suppress debug logs on release builds

Fix #4

This fixes #4 by catching two exceptions:
1) config file not found
2) config file invalid

Also suppress debug logs on release builds
@corytodd corytodd merged commit 6e78143 into main Aug 24, 2021
@corytodd corytodd deleted the better_config_handling branch August 24, 2021 00:06
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

Successfully merging this pull request may close these issues.

Invalid or missing JSON config file should show a clean error message
1 participant