logging qa error (#672)

This commit is contained in:
Jyong 2023-07-29 01:51:18 +08:00 committed by GitHub
parent 082f8b17ab
commit ca60610306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,8 +557,8 @@ class IndexingRunner:
qa_document.metadata['doc_hash'] = hash
qa_documents.append(qa_document)
format_documents.extend(qa_documents)
except Exception:
logging.error("sss")
except Exception as e:
logging.error(str(e))
split_documents.extend(format_documents)