Skip to content

Commit

Permalink
same for workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Oct 24, 2024
1 parent fc5e561 commit e9b9cdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skyvern/forge/sdk/routes/agent_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,8 @@ async def update_workflow(
request=workflow_create_request,
workflow_permanent_id=workflow_permanent_id,
)
except WorkflowParameterMissingRequiredValue as e:
raise e
except Exception as e:
LOG.exception("Failed to update workflow", workflow_permanent_id=workflow_permanent_id)
raise FailedToUpdateWorkflow(workflow_permanent_id, f"<{type(e).__name__}: {str(e)}>")
Expand Down

0 comments on commit e9b9cdb

Please sign in to comment.