diff --git a/quota_notifier/cli.py b/quota_notifier/cli.py index eb1c3f6..ba67113 100644 --- a/quota_notifier/cli.py +++ b/quota_notifier/cli.py @@ -168,6 +168,7 @@ def run(cls, validate: bool = False, verbosity: int = 0, debug: bool = False) -> """ # Configure application settings + # Logging is not configured yet so errors must be handled manually try: cls._load_settings(force_debug=debug) @@ -175,6 +176,7 @@ def run(cls, validate: bool = False, verbosity: int = 0, debug: bool = False) -> print(e) sys.exit(0) + # If the application was only asked to validate the settings file, we are done if validate: return