home · contact · privacy
Truly catch all Exceptions for transfer into main loop, to avoid display into scrambl...
authorChristian Heller <c.heller@plomlompom.de>
Mon, 6 Oct 2025 18:50:09 +0000 (20:50 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 6 Oct 2025 18:50:09 +0000 (20:50 +0200)
src/ircplom/events.py

index 295baa274e0ad0b4a98aa0196e4e4a61f801ee57..9d9f7a384479e7d0d043b1ec0ffa6b2dc0f08d70 100644 (file)
@@ -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)))