Browse Source

fix(base_node): change BaseNodeError exception type from Exception to ValueError (#11952)

Signed-off-by: -LAN- <laipz8200@outlook.com>
-LAN- 4 months ago
parent
commit
21a31d7f8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/core/workflow/nodes/base/exc.py

+ 1 - 1
api/core/workflow/nodes/base/exc.py

@@ -1,4 +1,4 @@
-class BaseNodeError(Exception):
+class BaseNodeError(ValueError):
     """Base class for node errors."""
 
     pass