Skip to content

Commit 1c002dc

Browse files
author
Vianpyro
committed
Improve error message in add_recipe endpoint for clarity
1 parent bc9a2b7 commit 1c002dc

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"}), 500
131+
return jsonify({"error": f"An internal error has occurred!"}), 500

0 commit comments

Comments
 (0)