From: Christian Heller Date: Mon, 6 Oct 2025 18:50:09 +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%7Bdb.prefix%7D%7D/todo?a=commitdiff_plain;h=55a3fdd5b833e41d17524c20736e2f863ab05015;p=ircplom Truly catch all Exceptions for transfer into main loop, to avoid display into scrambled TUI. --- diff --git a/src/ircplom/events.py b/src/ircplom/events.py index 295baa2..9d9f7a3 100644 --- a/src/ircplom/events.py +++ b/src/ircplom/events.py @@ -112,5 +112,5 @@ class Loop(QueueMixin): if it_yield is not None: self._put(it_yield) # catch _all_ just so they exit readably with the main loop - except Exception as e: # pylint: disable=broad-exception-caught + except BaseException as e: # pylint: disable=broad-exception-caught self._put(ExceptionEvent(CrashingException(e)))