added if condition check to not echo DB_URL (#1681)
This commit is contained in:
parent
12e516da64
commit
b02afc326e
@ -238,9 +238,10 @@ class Config(Base):
|
||||
|
||||
# If the env var is set, override the config value.
|
||||
if env_var is not None:
|
||||
console.info(
|
||||
f"Overriding config value {key} with env var {key.upper()}={env_var}"
|
||||
)
|
||||
if key.upper() != "DB_URL":
|
||||
console.info(
|
||||
f"Overriding config value {key} with env var {key.upper()}={env_var}"
|
||||
)
|
||||
|
||||
# Convert the env var to the expected type.
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user