Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f483b commit e397368Copy full SHA for e397368
src/services/hooks/webhooks.ts
@@ -51,8 +51,9 @@ const callWebhookEndpoint = async <B>(bodyObject: B): Promise<void> => {
51
if (!sendEvent.ok) {
52
throw new Error('Error sending event')
53
}
54
+ logger(`Called webhook endpoint ${WEBHOOK_URI} with body ${JSON.stringify(body)}`)
55
} catch (err: unknown) {
- logger(`Failed to call webhook endpoint ${WEBHOOK_URI} with body ${body}`)
56
+ logger(`Failed to call webhook endpoint ${WEBHOOK_URI} with body ${JSON.stringify(body)}`)
57
58
59
0 commit comments