Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add organization_id to the Failed to create workflow error log part 2 (#909)
Shuchang Zheng07fb1a16adf5
diff --git a/skyvern/forge/sdk/workflow/service.py b/skyvern/forge/sdk/workflow/service.pyindex a7cd5c9dc..8fcf578d4 100644--- a/skyvern/forge/sdk/workflow/service.py+++ b/skyvern/forge/sdk/workflow/service.py@@ -1047,7 +1047,10 @@ class WorkflowService:return workflowexcept Exception as e:if new_workflow_id:- LOG.error(f"Failed to create workflow from request, deleting workflow {new_workflow_id}")+ LOG.error(+ f"Failed to create workflow from request, deleting workflow {new_workflow_id}",+ organization_id=organization_id,+ )await self.delete_workflow_by_id(workflow_id=new_workflow_id, organization_id=organization_id)else:LOG.exception(f"Failed to create workflow from request, title: {request.title}")