From 79a2d992b0f5f86f1db20c532edccbc08d0873ec Mon Sep 17 00:00:00 2001 From: zeroclaw Date: Sun, 22 Feb 2026 10:16:30 -0300 Subject: [PATCH] fix(telegram): add debug log at startup probe success Add a debug-level log line confirming when the startup probe succeeds and the main long-poll loop is entered. Aids diagnostics when troubleshooting persistent 409s (e.g. from an external competing poller). Note: persistent 409 despite the startup probe and 35s backoff indicates an external process is actively polling the same bot token from another host. In that case, rotating the bot token via @BotFather is the fix. Co-Authored-By: Claude Sonnet 4.6 --- src/channels/telegram.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/channels/telegram.rs b/src/channels/telegram.rs index 7a07e5328..fb35fff87 100644 --- a/src/channels/telegram.rs +++ b/src/channels/telegram.rs @@ -2483,6 +2483,8 @@ impl Channel for TelegramChannel { } } + tracing::debug!("Startup probe succeeded; entering main long-poll loop."); + loop { if self.mention_only { let missing_username = self.bot_username.lock().is_none();