feat(discord): log discord client errors

Refs: #27
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
nocodeandClaude Opus 5 committed 2026-09-13 12:19:11 +02:00
1 parent 007ffc103e
commit a54affd741
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
import { Events } from 'discord.js';
import { createLogger } from '../core/logger.js';
const log = createLogger('discord');
export const name = Events.Error;
export async function execute(_client, error) {
log.error('Discord client error', error);
}