Skip to content

Commit

Permalink
add org id to the log for Failed to update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Oct 25, 2024
1 parent eedbac5 commit 155258c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion skyvern/forge/sdk/routes/agent_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,11 @@ async def update_workflow(
except WorkflowParameterMissingRequiredValue as e:
raise e
except Exception as e:
LOG.exception("Failed to update workflow", workflow_permanent_id=workflow_permanent_id)
LOG.exception(
"Failed to update workflow",
workflow_permanent_id=workflow_permanent_id,
organization_id=current_org.organization_id,
)
raise FailedToUpdateWorkflow(workflow_permanent_id, f"<{type(e).__name__}: {str(e)}>")


Expand Down

0 comments on commit 155258c

Please sign in to comment.