diff --git a/app/api/blueprint.py b/app/api/blueprint.py index 8f95d9d..0b005ca 100644 --- a/app/api/blueprint.py +++ b/app/api/blueprint.py @@ -91,6 +91,7 @@ def handle_value_error(e): @api_bp.errorhandler(NotPresentError) +@api_bp.errorhandler(404) def handle_not_present_error(e): return jsonify({'status': 'error', 'message': str(e)}), 404