mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 15:22:24 -05:00
add MethodNotAllowed
This commit is contained in:
@@ -84,6 +84,8 @@ class ResponseHeaderMiddleware(object):
|
||||
current_app.logger.error(be)
|
||||
elif "AttributeError" in str(be): # notify-api-1394
|
||||
current_app.logger.error(be)
|
||||
elif "MethodNotAllowed" in str(be): # notify-admin-1392
|
||||
current_app.logger.error(be)
|
||||
else:
|
||||
raise be
|
||||
|
||||
|
||||
Reference in New Issue
Block a user