coinbasepro-python
coinbasepro-python copied to clipboard
Set stop=true if an error occurs while creating a socket connection
When an exception is thrown while opening a connection or subscribing, stop still remains false.
Users of WebsocketClient class will have no way to know whether a connection is live and functioning. This commit allows users to rely on ws_client.stop to figure this out.