Update main.py
Browse files
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)+
|
| 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:
|