Skip to content

Commit 77197bf

Browse files
authored
chore(slack): attachments logger (#68207)
1 parent a67f1eb commit 77197bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sentry/integrations/slack/actions/notification.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ def send_notification(event: GroupEvent, futures: Sequence[RuleFuture]) -> None:
116116
"link_names": 1,
117117
"attachments": json.dumps(attachments),
118118
}
119+
self.logger.info(
120+
"rule.slack_post.attachments",
121+
extra={"organization_id": event.group.project.organization_id},
122+
)
119123

120124
client = SlackClient(integration_id=integration.id)
121125
try:

0 commit comments

Comments
 (0)