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 errors returned when loading config values from environment #67

Merged

Conversation

@3lpsy
Copy link
Contributor

3lpsy commented Oct 4, 2019

The current config.py catches all errors and output general error which assumed the config was loaded from file. The changes specifically catch KeyErrors when loaded from the environment and notify the user regarding which key was not found.

Copy link
Contributor

jaredhaight left a comment

Thanks a lot!

@jaredhaight jaredhaight merged commit 6bb5989 into FactionC2:development Oct 6, 2019
2 checks passed
2 checks passed
FactionC2.API Build #20191006.2 succeeded
Details
Summary no rules match, no planned actions
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.