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(base_node): change BaseNodeError exception type from Exception to ValueError (#11952)

-LAN-21a31d7f8bc4
diff --git a/api/core/workflow/nodes/base/exc.py b/api/core/workflow/nodes/base/exc.py
index ec134e031cf..aeecf406403 100644
--- a/api/core/workflow/nodes/base/exc.py
+++ b/api/core/workflow/nodes/base/exc.py
@@ -1,4 +1,4 @@
-class BaseNodeError(Exception):
+class BaseNodeError(ValueError):
"""Base class for node errors."""
pass