rairo commited on
Commit
842abd1
·
verified ·
1 Parent(s): 22c35ba

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -136,7 +136,7 @@ def process_receipt_endpoint():
136
 
137
  except Exception as e:
138
  print(image)
139
- return jsonify({'error': str(e)+f'uid: {uid}, user_data: {user_data}, data:{data}, file_hash: {file_hash},image_bytes: {image_bytes}'}), 500
140
 
141
  def handle_manual_entry(uid, user_ref, user_data):
142
  try:
 
136
 
137
  except Exception as e:
138
  print(image)
139
+ return jsonify({'error': str(e)), 500
140
 
141
  def handle_manual_entry(uid, user_ref, user_data):
142
  try: