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.

fix(document_extractor): update base exception class (#10208)

-LAN-ec6a03afdd9c
diff --git a/api/core/workflow/nodes/document_extractor/exc.py b/api/core/workflow/nodes/document_extractor/exc.py
index c9d4bb8ef6c..5caf00ebc5f 100644
--- a/api/core/workflow/nodes/document_extractor/exc.py
+++ b/api/core/workflow/nodes/document_extractor/exc.py
@@ -1,4 +1,4 @@
-class DocumentExtractorError(Exception):
+class DocumentExtractorError(ValueError):
"""Base exception for errors related to the DocumentExtractorNode."""