Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

logging qa error (#672)

Jyongca606103067f
diff --git a/api/core/indexing_runner.py b/api/core/indexing_runner.py
index 03b207e9a39..689c53d288e 100644
--- a/api/core/indexing_runner.py
+++ b/api/core/indexing_runner.py
@@ -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)