Spaces:
Runtime error
Runtime error
Fix the bug fix on collection name
Browse files- app/utils/doc_ingest.py +1 -1
app/utils/doc_ingest.py
CHANGED
|
@@ -13,5 +13,5 @@ def ingest_document(file_location: str, collection_name: str):
|
|
| 13 |
vectordb = pdf_to_vec(file_location, collection_name)
|
| 14 |
print("Document processed and ingested successfully into user-specific collection.")
|
| 15 |
except Exception as e:
|
| 16 |
-
print(f"Error processing document for
|
| 17 |
raise
|
|
|
|
| 13 |
vectordb = pdf_to_vec(file_location, collection_name)
|
| 14 |
print("Document processed and ingested successfully into user-specific collection.")
|
| 15 |
except Exception as e:
|
| 16 |
+
print(f"Error processing document for collection {collection_name}: {e}")
|
| 17 |
raise
|