Detailed logs for webhook failures (#691)
This commit is contained in:
@@ -729,10 +729,10 @@ class WorkflowService:
|
|||||||
"Webhook failed",
|
"Webhook failed",
|
||||||
workflow_id=workflow.workflow_id,
|
workflow_id=workflow.workflow_id,
|
||||||
workflow_run_id=workflow_run.workflow_run_id,
|
workflow_run_id=workflow_run.workflow_run_id,
|
||||||
|
webhook_data=payload,
|
||||||
resp=resp,
|
resp=resp,
|
||||||
resp_code=resp.status_code,
|
resp_code=resp.status_code,
|
||||||
resp_text=resp.text,
|
resp_text=resp.text,
|
||||||
resp_json=resp.json(),
|
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise FailedToSendWebhook(
|
raise FailedToSendWebhook(
|
||||||
|
|||||||
Reference in New Issue
Block a user