Skip to content

Commit 6c4138b

Browse files
committed
chore(code-review): Add additional logging for sentry
1 parent dfde49c commit 6c4138b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/sentry/seer/code_review/webhooks/handlers.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ def handle_webhook_event(
7676
github_event_action=event.get("action", "unknown"),
7777
reason=preflight.denial_reason,
7878
)
79+
if organization.slug == "sentry":
80+
logger.info(
81+
"github.webhook.code_review.denied",
82+
extra={
83+
**extra,
84+
"denial_reason": preflight.denial_reason,
85+
},
86+
)
7987
return
8088

8189
handler(

0 commit comments

Comments
 (0)