From 6d6c9e281908fc93fb49d28a01eae807f09b1fe2 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Fri, 4 Oct 2024 00:13:31 -0700 Subject: [PATCH] add organization_id to the Failed to create workflow error log (#905) --- skyvern/forge/sdk/routes/agent_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.py index 2ecf8d7c..b4cc079e 100644 --- a/skyvern/forge/sdk/routes/agent_protocol.py +++ b/skyvern/forge/sdk/routes/agent_protocol.py @@ -671,7 +671,7 @@ async def create_workflow( organization=current_org, request=workflow_create_request ) except Exception as e: - LOG.error("Failed to create workflow", exc_info=True) + LOG.error("Failed to create workflow", exc_info=True, organization_id=current_org.organization_id) raise FailedToCreateWorkflow(str(e))