Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(webhook): add logging

Gergő Móricz1a0f13c0eb48
diff --git a/apps/api/src/services/webhook.ts b/apps/api/src/services/webhook.ts
index 1cc4db84a..7840484da 100644
--- a/apps/api/src/services/webhook.ts
+++ b/apps/api/src/services/webhook.ts
@@ -46,6 +46,8 @@ export const callWebhook = async (
webhookUrl = webhooksData[0].url;
}
+ logger.debug("Calling webhook...", { webhookUrl, teamId, specified, v1, eventType, awaitWebhook });
+
if (!webhookUrl) {
return null;
}
@@ -128,7 +130,6 @@ export const callWebhook = async (
"Content-Type": "application/json",
...webhookUrl.headers,
},
- timeout: v1 ? 10000 : 30000, // 10 seconds timeout (v1)
}
)
.catch((error) => {