mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-04-17 13:21:01 +00:00
feat: notify admin via Telegram on webhook errors
Send error details to ADMIN_CHAT_ID (optional secret) whenever the statuspage webhook handler hits an error path. Uses waitUntil() so the notification never blocks the 200 response.
This commit is contained in:
@@ -41,4 +41,5 @@
|
||||
// Secrets (set via `wrangler secret put`):
|
||||
// BOT_TOKEN - Telegram bot token
|
||||
// WEBHOOK_SECRET - Statuspage webhook URL secret
|
||||
// ADMIN_CHAT_ID - Telegram chat ID to receive error notifications
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user