diff options
| author | Kenneth Lien <kenneth@anthropic.com> | 2026-03-20 10:53:36 -0700 |
|---|---|---|
| committer | Kenneth Lien <kenneth@anthropic.com> | 2026-03-20 10:53:36 -0700 |
| commit | 9f2a4feab937324f57e0e0096dbfd58600fefbf9 (patch) | |
| tree | d2c26b1c0be353822b023df39511225cd9f4341a /plugins/plugin-dev/skills/hook-development/examples | |
| parent | 90accf6fd2008fe0ee9578ebc088740c3a754d58 (diff) | |
telegram: add error handlers to stop silent polling deathkenneth/telegram-resilience
The bot would silently stop delivering messages after the first error:
grammy's default handler calls bot.stop() on any middleware throw, and
void bot.start() / void mcp.notification() swallow rejections with no log.
- bot.catch(): log and keep polling on handler errors
- bot.start().catch(): log when polling dies (bad token, 409, network)
- mcp.notification().catch(): log when inbound delivery to Claude fails
- process-level unhandledRejection/uncaughtException as a safety net
Fixes #756 #759 #761 #777 #809, partial #788
Diffstat (limited to 'plugins/plugin-dev/skills/hook-development/examples')
0 files changed, 0 insertions, 0 deletions
