From 08154b4374518b6419f36584ef3de11f6f7574b8 Mon Sep 17 00:00:00 2001 From: Kaloyan Tenchov Date: Sat, 16 May 2026 11:01:10 -0400 Subject: [PATCH] fix(signal): drop duplicate self in unconfigured-account log call Addresses review feedback on HKUDS/nanobot#3852: self.self.logger.error would crash if the phone_number guard ever fired. --- nanobot/channels/signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanobot/channels/signal.py b/nanobot/channels/signal.py index 3e35ae676..45c520291 100644 --- a/nanobot/channels/signal.py +++ b/nanobot/channels/signal.py @@ -276,7 +276,7 @@ class SignalChannel(BaseChannel): async def start(self) -> None: """Start the Signal channel and connect to signal-cli daemon.""" if not self.config.phone_number: - self.self.logger.error("Signal account not configured") + self.logger.error("Signal account not configured") return self._running = True