mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Fix duplicate name
This commit is contained in:
@@ -41,7 +41,7 @@ def register_errors(blueprint):
|
||||
return jsonify(result='error', message="No result found"), 404
|
||||
|
||||
@blueprint.app_errorhandler(DataError)
|
||||
def no_result_found(e):
|
||||
def data_error(e):
|
||||
current_app.logger.error(e)
|
||||
return jsonify(result='error', message="No result found"), 404
|
||||
|
||||
|
||||
Reference in New Issue
Block a user