mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not
only Exception
This commit is contained in:
parent
d0a28dee78
commit
0c2e408833
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
|
||||
try:
|
||||
yield from waiter
|
||||
except Exception:
|
||||
except:
|
||||
transport.close()
|
||||
raise
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue