Commit 0c2e4088 authored by Victor Stinner's avatar Victor Stinner

asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not

only Exception
parent d0a28dee
......@@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
try:
yield from waiter
except Exception:
except:
transport.close()
raise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment