rairo commited on
Commit
495abfd
·
verified ·
1 Parent(s): d7ec667

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)+str(result_text)}), 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)+f'uid:{uid}, user_data:{user_dta}, data:{data}, file_hash:{file_hash},image_bytes:{image_bytes}')+}), 500
140
 
141
  def handle_manual_entry(uid, user_ref, user_data):
142
  try: