Skip to content

feat: add webhook notifications and error history for provider errors#513

Open
toanalien wants to merge 2 commits intodecolua:masterfrom
toanalien:feat/provider-error-webhook-notification
Open

feat: add webhook notifications and error history for provider errors#513
toanalien wants to merge 2 commits intodecolua:masterfrom
toanalien:feat/provider-error-webhook-notification

Conversation

@toanalien
Copy link
Copy Markdown
Contributor

When providers return errors (401, 429, 5xx, etc.), errors are now saved to a persistent history and optionally sent as webhook notifications via ahha library (supports Slack, Discord, Telegram, generic webhooks, Ntfy).

  • Add notificationService with throttling and configurable error codes
  • Add errorHistoryDb for persistent per-connection error tracking
  • Add webhook settings UI in Profile > Notifications
  • Add error history modal in provider ConnectionsCard
  • Hook into markAccountUnavailable for fire-and-forget notifications
Screenshot 2026-04-06 at 17 46 04 Screenshot 2026-04-06 at 17 46 24

When providers return errors (401, 429, 5xx, etc.), errors are now saved to
a persistent history and optionally sent as webhook notifications via ahha
library (supports Slack, Discord, Telegram, generic webhooks, Ntfy).

- Add notificationService with throttling and configurable error codes
- Add errorHistoryDb for persistent per-connection error tracking
- Add webhook settings UI in Profile > Notifications
- Add error history modal in provider ConnectionsCard
- Hook into markAccountUnavailable for fire-and-forget notifications
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.

1 participant