Skip to content

Commit

Permalink
Clarification edits
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort authored Aug 25, 2023
1 parent 7877468 commit 9cc9615
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quota_notifier/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,15 @@ 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)

except Exception as e:
print(e)
sys.exit(0)

# If the application was only asked to validate the settings file, we are done
if validate:
return

Expand Down

0 comments on commit 9cc9615

Please sign in to comment.