This commit is contained in:
Kenneth Kehl
2024-08-02 08:06:41 -07:00
parent dd05268cdb
commit a3ddb35fe7

View File

@@ -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