mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 23:32:27 -05:00
fix flake 8
This commit is contained in:
@@ -80,9 +80,9 @@ class ResponseHeaderMiddleware(object):
|
||||
|
||||
return self._app(environ, rewrite_response_headers)
|
||||
except BaseException as be: # noqa
|
||||
if "AuthError" in str(be): #notify-api-1135
|
||||
if "AuthError" in str(be): # notify-api-1135
|
||||
current_app.logger.error(be)
|
||||
elif "AttributeError" in str(be): #notify-api-1394
|
||||
elif "AttributeError" in str(be): # notify-api-1394
|
||||
current_app.logger.error(be)
|
||||
else:
|
||||
raise be
|
||||
|
||||
Reference in New Issue
Block a user