ingest_helper.py > debug/log file path instead of file name

This commit is contained in:
Omar Trigui 2024-04-03 18:06:08 +02:00 committed by GitHub
parent 567d4794be
commit 9dfab80598
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ class IngestionHelper:
@staticmethod
def _load_file_to_documents(file_name: str, file_data: Path) -> list[Document]:
logger.debug("Transforming file_name=%s into documents", file_name)
logger.debug("Transforming file=%s into documents", str(file_data))
extension = Path(file_name).suffix
reader_cls = FILE_READER_CLS.get(extension)
if reader_cls is None: