mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
fix notify-api-1394 as well
This commit is contained in:
@@ -82,6 +82,8 @@ class ResponseHeaderMiddleware(object):
|
|||||||
except BaseException as be: # noqa
|
except BaseException as be: # noqa
|
||||||
if "AuthError" in str(be):
|
if "AuthError" in str(be):
|
||||||
current_app.logger.error(be)
|
current_app.logger.error(be)
|
||||||
|
elif "AttributeError" in str(be):
|
||||||
|
current_app.logger.error(be)
|
||||||
else:
|
else:
|
||||||
raise be
|
raise be
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user