mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
add organization_id to the Failed to create workflow error log part 2 (#909)
This commit is contained in:
parent
caef189cda
commit
07fb1a16ad
1 changed files with 4 additions and 1 deletions
|
@ -1047,7 +1047,10 @@ class WorkflowService:
|
|||
return workflow
|
||||
except 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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue