feat: optimize error logging (#808)

This commit is contained in:
takatost
2023-08-12 02:22:43 +08:00
committed by GitHub
parent b81b8637ec
commit f18ce203b5
5 changed files with 7 additions and 7 deletions

View File

@@ -549,7 +549,7 @@ class IndexingRunner:
qa_documents.append(qa_document)
format_documents.extend(qa_documents)
except Exception as e:
logging.error(str(e))
logging.exception(e)
all_qa_documents.extend(format_documents)