Skip to content

Commit 33e42a0

Browse files
committed
Log GitHub webhook event and payload
1 parent a66fe51 commit 33e42a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/github/webhook.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ pub async fn webhook(
172172
return (StatusCode::BAD_REQUEST, "Payload must be UTF-8").into_response();
173173
};
174174

175+
tracing::info!(?event, ?payload);
176+
175177
match process_payload(event, payload, &ctx).await {
176178
Ok(true) => ("processed request",).into_response(),
177179
Ok(false) => ("ignored request",).into_response(),

0 commit comments

Comments
 (0)