diff options
| author | Kenneth Lien <kenneth@anthropic.com> | 2026-03-20 11:28:51 -0700 |
|---|---|---|
| committer | Kenneth Lien <kenneth@anthropic.com> | 2026-03-20 11:28:51 -0700 |
| commit | aa71c24314ab2336e4ae55d59490180822789d49 (patch) | |
| tree | bddd778b9f02ebc65057d5b7de6d6a918546e909 /plugins/plugin-dev/skills/plugin-settings/examples | |
| parent | 90accf6fd2008fe0ee9578ebc088740c3a754d58 (diff) | |
discord: port resilience fixes from telegramkenneth/discord-resilience
Same patterns as #812/#813 for the discord channel:
- process-level unhandledRejection/uncaughtException handlers
- client.on('error') to log discord.js errors
- mcp.notification().catch() so inbound delivery failures surface
- stdin close / SIGTERM -> client.destroy() + exit (zombie fix)
- .unref() the approval-check interval
- client.login().catch() to log+exit on bad token instead of crashing
Discord is inherently more resilient than telegram (discord.js
auto-reconnects, no 409 equivalent), but these gaps were still there.
Diffstat (limited to 'plugins/plugin-dev/skills/plugin-settings/examples')
0 files changed, 0 insertions, 0 deletions
