Fix regression BaseException

This commit is contained in:
Joe Schr
2024-02-07 17:39:49 +01:00
parent d6e3464973
commit 2925a2a2fa

View File

@@ -2006,9 +2006,8 @@ class Exchange:
results = await asyncio.gather(*input_coro, return_exceptions=True)
for res in results:
if isinstance(res, Exception):
logger.warning(
f"Async code raised an exception: {repr(res)}")
if isinstance(res, BaseException):
logger.warning(f"Async code raised an exception: {repr(res)}")
if raise_:
raise
continue