Skip to content

Error handling for news notifications#193

Open
GAsplund wants to merge 5 commits into
mainfrom
fix/news-post-notifications
Open

Error handling for news notifications#193
GAsplund wants to merge 5 commits into
mainfrom
fix/news-post-notifications

Conversation

@GAsplund
Copy link
Copy Markdown
Member

@GAsplund GAsplund commented Mar 19, 2026

Mainly resolves issues where news post notifications are rejected by Slack, often due to invalid_attachments. Retries sending a notification without content if failure mode is known.

Also changes /api/news/[id] so that users can get the Slack serialized content, mainly for debugging purposes.

Tested working in a developer sandbox.

Copy link
Copy Markdown

@SixtenPaulsson SixtenPaulsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants