mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
format
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user