Fixed _callbacks.py did not reraise CancelledError

This commit is contained in:
2026-09-09 18:19:52 +03:00
parent 9f4cd4948a
commit 159a43ebe6

View File

@@ -54,6 +54,8 @@ class Callbacks:
try: try:
if not await callback_info.filter(room, event, self._client): if not await callback_info.filter(room, event, self._client):
continue continue
except asyncio.CancelledError:
raise
except: except:
self._logger.error(traceback.format_exc()) self._logger.error(traceback.format_exc())
continue continue