mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 11:29:49 -04:00
@@ -243,7 +243,7 @@ def create_app(application):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
data_len = len(value.strip())
|
data_len = len(value.strip())
|
||||||
except {TypeError, AttributeError}:
|
except (TypeError, AttributeError):
|
||||||
application.logger.error(f"Env Var {key} invalid type: {type(value)}")
|
application.logger.error(f"Env Var {key} invalid type: {type(value)}")
|
||||||
else:
|
else:
|
||||||
application.logger.info(f"Env Var {key} Length: {data_len}")
|
application.logger.info(f"Env Var {key} Length: {data_len}")
|
||||||
|
|||||||
Reference in New Issue
Block a user