From: Christian Heller Date: Mon, 6 Oct 2025 19:38:30 +0000 (+0200) Subject: Truly catch all Exceptions for transfer into main loop, to avoid display into scrambl... X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/coming?a=commitdiff_plain;h=HEAD;p=ircplom Truly catch all Exceptions for transfer into main loop, to avoid display into scrambled TUI. --- diff --git a/src/ircplom/client.py b/src/ircplom/client.py index 330022d..8d05ff3 100644 --- a/src/ircplom/client.py +++ b/src/ircplom/client.py @@ -850,7 +850,8 @@ class Client(ABC, ClientQueueMixin): _q_out=self._q_out, client_id=self.client_id) except IrcConnException as e: self._client_trigger('_on_connecting_exception', e=e) - except Exception as e: # pylint: disable=broad-exception-caught + # pylint: disable=broad-exception-caught + except BaseException as e: self._put(ExceptionEvent(CrashingException(e))) else: self._client_trigger('_on_connected')