mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -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
|
||||
if "AuthError" in str(be):
|
||||
current_app.logger.error(be)
|
||||
elif "AttributeError" in str(be):
|
||||
current_app.logger.error(be)
|
||||
else:
|
||||
raise be
|
||||
|
||||
|
||||
Reference in New Issue
Block a user