mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-21 17:12:32 +00:00
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.
This commit is contained in:
parent
880097acd5
commit
08154b4374
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user