Browse Source

fix(variable_assigner): change VariableOperatorNodeError to inherit from ValueError (#11951)

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

+ 1 - 1
api/core/workflow/nodes/variable_assigner/common/exc.py

@@ -1,4 +1,4 @@
-class VariableOperatorNodeError(Exception):
+class VariableOperatorNodeError(ValueError):
     """Base error type, don't use directly."""
 
     pass