🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: print response body webhook errors (#7728)
Max Deichmann5adac14049d6
diff --git a/packages/shared/src/server/automations/webhooks.ts b/packages/shared/src/server/automations/webhooks.tsindex 5980e4dfc4..90d2b6b9db 100644--- a/packages/shared/src/server/automations/webhooks.ts+++ b/packages/shared/src/server/automations/webhooks.ts@@ -140,7 +140,7 @@ export const executeWebhook = async (input: WebhookInput) => {if (res.status !== 200) {logger.warn(- `Webhook does not return 200: failed with status ${res.status} for url ${webhookConfig.url} and project ${projectId}`,+ `Webhook does not return 200: failed with status ${res.status} for url ${webhookConfig.url} and project ${projectId}. Body: ${responseBody}`,);throw new Error(`Webhook does not return 200: failed with status ${res.status} for url ${webhookConfig.url} and project ${projectId}`,