mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
the error raised from the base validate_step_execution shouldn't be handled to fail the task (#422)
This commit is contained in:
parent
3f3fbbc63d
commit
fbe42994a9
3 changed files with 17 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue