websocket: Catch errors in async open() correctly
Previously if open() was a coroutine and raised an error, the connection would be left open. Fixes #2570
Showing
想要评论请 注册 或 登录
Previously if open() was a coroutine and raised an error, the connection would be left open. Fixes #2570