Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41928fa

Browse files
authored
log webhook endpoint (#562)
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent94f483b commit41928fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/services/hooks/webhooks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ const callWebhookEndpoint = async <B>(bodyObject: B): Promise<void> => {
5151
if(!sendEvent.ok){
5252
thrownewError('Error sending event')
5353
}
54+
logger(`Called webhook endpoint${WEBHOOK_URI} with body${JSON.stringify(body)}`)
5455
}catch(err:unknown){
55-
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)}`)
5657
}
5758
}
5859

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp