From dd05268cdbd95facf6b4622b75a64c9c1162371f Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 2 Aug 2024 08:06:06 -0700 Subject: [PATCH] fix notify-api-1394 as well --- notifications_utils/request_helper.py | 2 ++ 1 file changed, 2 insertions(+) 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