Skip to content

Commit

Permalink
Detailed logs for webhook failures (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykeremy authored Aug 8, 2024
1 parent 5299f92 commit e5c7d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/forge/sdk/workflow/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,10 @@ async def send_workflow_response(
"Webhook failed",
workflow_id=workflow.workflow_id,
workflow_run_id=workflow_run.workflow_run_id,
webhook_data=payload,
resp=resp,
resp_code=resp.status_code,
resp_text=resp.text,
resp_json=resp.json(),
)
except Exception as e:
raise FailedToSendWebhook(
Expand Down

0 comments on commit e5c7d8b

Please sign in to comment.