add organization_id to the Failed to create workflow error log (#905)

This commit is contained in:
Shuchang Zheng
2024-10-04 00:13:31 -07:00
committed by GitHub
parent b034a2f56c
commit 6d6c9e2819

View File

@@ -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))