DSatishchandra commited on
Commit
476eb13
·
verified ·
1 Parent(s): 1959c5c

Update Menu_page.py

Browse files
Files changed (1) hide show
  1. Menu_page.py +2 -1
Menu_page.py CHANGED
@@ -229,4 +229,5 @@ def add_to_cart():
229
  except Exception as e:
230
  # Log the error for debugging and return a general error message
231
  print(f"Error adding item to cart: {str(e)}")
232
- return jsonify({"success": False, "error": "An error occurred while adding the item to the cart."}), 500
 
 
229
  except Exception as e:
230
  # Log the error for debugging and return a general error message
231
  print(f"Error adding item to cart: {str(e)}")
232
+ return jsonify({"success": False, "error": "An error occurred while adding the item to the cart."}), 500
233
+