expose workflow failure reason to api (#1200)

This commit is contained in:
LawyZheng 2024-11-15 13:20:30 +08:00 committed by GitHub
parent af6cca91d4
commit 54f793c797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -779,6 +779,7 @@ class WorkflowService:
workflow_id=workflow.workflow_permanent_id,
workflow_run_id=workflow_run_id,
status=workflow_run.status,
failure_reason=workflow_run.failure_reason,
proxy_location=workflow_run.proxy_location,
webhook_callback_url=workflow_run.webhook_callback_url,
totp_verification_url=workflow_run.totp_verification_url,