mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Completion of the platform admin user story.
This commit is contained in:
@@ -203,4 +203,7 @@ def register_errorhandlers(application):
|
||||
|
||||
@application.errorhandler(Exception)
|
||||
def handle_bad_request(error):
|
||||
from flask import current_app
|
||||
if current_app.config.get('DEBUG'):
|
||||
print(error)
|
||||
return _error_response(500)
|
||||
|
||||
Reference in New Issue
Block a user