the error raised from the base validate_step_execution shouldn't be handled to fail the task (#422)
This commit is contained in:
@@ -266,7 +266,12 @@ class UnknownElementTreeFormat(SkyvernException):
|
||||
|
||||
class StepTerminationError(SkyvernException):
|
||||
def __init__(self, step_id: str, reason: str) -> None:
|
||||
super().__init__(f"Step {step_id} cannot be executed and task is terminated. Reason: {reason}")
|
||||
super().__init__(f"Step {step_id} cannot be executed and task is failed. Reason: {reason}")
|
||||
|
||||
|
||||
class StepUnableToExecuteError(SkyvernException):
|
||||
def __init__(self, step_id: str, reason: str) -> None:
|
||||
super().__init__(f"Step {step_id} cannot be executed and task execution is stopped. Reason: {reason}")
|
||||
|
||||
|
||||
class UnsupportedActionType(SkyvernException):
|
||||
|
||||
Reference in New Issue
Block a user