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 the env var is set, override the config value.
|
||||||
if env_var is not None:
|
if env_var is not None:
|
||||||
console.info(
|
if key.upper() != "DB_URL":
|
||||||
f"Overriding config value {key} with env var {key.upper()}={env_var}"
|
console.info(
|
||||||
)
|
f"Overriding config value {key} with env var {key.upper()}={env_var}"
|
||||||
|
)
|
||||||
|
|
||||||
# Convert the env var to the expected type.
|
# Convert the env var to the expected type.
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user