mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
comments
This commit is contained in:
@@ -80,9 +80,9 @@ class ResponseHeaderMiddleware(object):
|
|||||||
|
|
||||||
return self._app(environ, rewrite_response_headers)
|
return self._app(environ, rewrite_response_headers)
|
||||||
except BaseException as be: # noqa
|
except BaseException as be: # noqa
|
||||||
if "AuthError" in str(be):
|
if "AuthError" in str(be): #notify-api-1135
|
||||||
current_app.logger.error(be)
|
current_app.logger.error(be)
|
||||||
elif "AttributeError" in str(be):
|
elif "AttributeError" in str(be): #notify-api-1394
|
||||||
current_app.logger.error(be)
|
current_app.logger.error(be)
|
||||||
else:
|
else:
|
||||||
raise be
|
raise be
|
||||||
|
|||||||
Reference in New Issue
Block a user