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 265df6e commit 67615a8Copy full SHA for 67615a8
src/sentry/integrations/slack/integration.py
@@ -117,7 +117,7 @@ def send_notification(
117
channel=target.resource_id,
118
blocks=payload["blocks"],
119
text=payload["text"],
120
- attachments=payload["attachments"],
+ attachments=payload.get("attachments", None),
121
unfurl_links=False,
122
unfurl_media=False,
123
)
0 commit comments