Skip to content

Commit bc9a2b7

Browse files
author
Vianpyro
committed
Simplify error message in add_recipe endpoint
1 parent a323c41 commit bc9a2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ def add_recipe():
128128
import traceback
129129

130130
traceback.print_exc()
131-
return jsonify({"error": f"An error occurred: {str(e)}"}), 500
131+
return jsonify({"error": f"An error occurred"}), 500

0 commit comments

Comments
 (0)