mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -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
|
return jsonify(result='error', message="No result found"), 404
|
||||||
|
|
||||||
@blueprint.app_errorhandler(DataError)
|
@blueprint.app_errorhandler(DataError)
|
||||||
def no_result_found(e):
|
def data_error(e):
|
||||||
current_app.logger.error(e)
|
current_app.logger.error(e)
|
||||||
return jsonify(result='error', message="No result found"), 404
|
return jsonify(result='error', message="No result found"), 404
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user