Skip to content

Commit

Permalink
Logging setup handles print of warnings - remove redundant print
Browse files Browse the repository at this point in the history
  • Loading branch information
nonchris committed Jul 29, 2021
1 parent cc26336 commit 373053d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def load_env(key: str, default: str) -> str:
value = os.getenv(key)
if value:
return value
print(f"Can't load env-variable for: '{key}' - falling back to DEFAULT {key}='{default}'")
logger.warning(f"Can't load env-variable for: '{key}' - falling back to DEFAULT {key}='{default}'")
return default

Expand Down

0 comments on commit 373053d

Please sign in to comment.