mirror of https://github.com/python/cpython
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not
only Exception
This commit is contained in:
parent
d0a28dee78
commit
0c2e408833
|
@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
yield from waiter
|
yield from waiter
|
||||||
except Exception:
|
except:
|
||||||
transport.close()
|
transport.close()
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue