From 4b4863330b9a21075669753593c479e2ac1b2cc3 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Mon, 30 Mar 2026 02:50:37 +0900 Subject: [PATCH] fix: add debug log for dashboard channel discovery failure --- src/unified-dashboard.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/unified-dashboard.ts b/src/unified-dashboard.ts index 2fb2ef8..42bfb6e 100644 --- a/src/unified-dashboard.ts +++ b/src/unified-dashboard.ts @@ -580,7 +580,17 @@ export async function startUnifiedDashboard( if (!isRenderer) return; const channel = findDiscordChannel(opts.channels); - if (!channel) return; + if (!channel) { + logger.warn( + { + channelCount: opts.channels.length, + names: opts.channels.map((c) => c.name), + connected: opts.channels.map((c) => c.isConnected()), + }, + 'Dashboard: no connected Discord channel found', + ); + return; + } try { await refreshChannelMeta(opts);