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:
|
||||
yield from waiter
|
||||
except Exception:
|
||||
except:
|
||||
transport.close()
|
||||
raise
|
||||
|
||||
|
|
Loading…
Reference in New Issue