From 55a3fdd5b833e41d17524c20736e2f863ab05015 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 6 Oct 2025 20:50:09 +0200 Subject: [PATCH] Truly catch all Exceptions for transfer into main loop, to avoid display into scrambled TUI. --- src/ircplom/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.30.2