diff --git a/notifications_utils/request_helper.py b/notifications_utils/request_helper.py index 35f51f42c..6d570fe06 100644 --- a/notifications_utils/request_helper.py +++ b/notifications_utils/request_helper.py @@ -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