mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 18:05:11 +00:00
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message (#10425)
This commit is contained in:
@@ -159,7 +159,7 @@ class QAIndexProcessor(BaseIndexProcessor):
|
||||
qa_documents.append(qa_document)
|
||||
format_documents.extend(qa_documents)
|
||||
except Exception as e:
|
||||
logging.exception(e)
|
||||
logging.exception("Failed to format qa document")
|
||||
|
||||
all_qa_documents.extend(format_documents)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user