This commit is contained in:
Beverly Nguyen
2025-07-31 12:16:57 -07:00
parent 181ea66468
commit 1b04d1fd83
8 changed files with 37 additions and 49 deletions

View File

@@ -550,7 +550,7 @@ def register_errorhandlers(application): # noqa (C901 too complex)
application.logger.warning(
f"API {error_url} failed with status {error.status_code} message {error.message}",
exc_info=sys.exc_info(),
stack_info=True
stack_info=True,
)
error_code = error.status_code
@@ -562,7 +562,7 @@ def register_errorhandlers(application): # noqa (C901 too complex)
application.logger.exception(
f"API {error_url} failed with status {error.status_code} message {error.message}",
exc_info=sys.exc_info(),
stack_info=True
stack_info=True,
)
error_code = 500

View File

@@ -17,9 +17,7 @@ class Config(object):
ADMIN_BASE_URL = getenv("ADMIN_BASE_URL", "http://localhost:6012")
HEADER_COLOUR = "#81878b" # mix of dark-grey and mid-grey
LOGO_CDN_DOMAIN = (
"static-logos.notifications.service.gov.uk" # TODO use our own CDN
)
ASSETS_DEBUG = False
# Credentials