added if condition check to not echo DB_URL (#1681)

This commit is contained in:
Shashank Tiwari 2023-08-26 02:41:44 +05:30 committed by GitHub
parent 12e516da64
commit b02afc326e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,6 +238,7 @@ class Config(Base):
# If the env var is set, override the config value.
if env_var is not None:
if key.upper() != "DB_URL":
console.info(
f"Overriding config value {key} with env var {key.upper()}={env_var}"
)