Skip to content

Commit 1bce5b4

Browse files
committed
catch all exceptions
1 parent a069d0a commit 1bce5b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trio_asyncio/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ async def __run_trio(self, h):
358358
if scope.cancelled_caught:
359359
f.cancel()
360360
return
361-
except Exception as exc:
361+
except BaseException as exc:
362362
if not f.cancelled(): # pragma: no branch
363363
f.set_exception(exc)
364364
else:

0 commit comments

Comments
 (0)