tactilenews / 100eyes

Dialogtechnologie für den Pivot to People invented by tactile.news GmbH
MIT License
10 stars 1 forks source link

Handle undeliverable message #725

Open tillprochaska opened 3 years ago

tillprochaska commented 3 years ago

Right now, we do not properly handle delivery issues in a consistent way across the supported communication channels, relying on Sentry notifications to identify issues like incorrect Threema IDs, unsubscribed users, blocked Telegram bots.

We should implement a generic solution that marks messages as undelivered in case any unexpected exceptions occur during sending. Additionally, we might want to automatically set contributors to inactive for certain types of errors (e.g. undeliverable messages due to unsubscribes, blocked bots, …).

For now, we could continue using Sentry to get notified about delivery issues, but I think we should set up a separate channel next to the generic monitoring channel for such issues, to make it easier for our support to take action. In the future, we could leverage a notification feature (#1287) to display notifications in 100eyes, so editors are informed about unsubscribes, delivery issues etc.

Related:

mattwr18 commented 1 year ago

Just seeing this issue now @tillprochaska ... Really cool that we were both thinking very similar things. We have already started working on this.

See