Skip to content

Commit c3dc1b1

Browse files
committed
Merge branch 'master' into feature/management-api
2 parents cf2ee4d + ee3c453 commit c3dc1b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Bot/Exchange/Binance/BinanceWebsocket.py

+3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def start_user_info(self, callback=None):
117117
def feature_finished(self, future: asyncio.Future, reconnect_fn=None, name=''):
118118
self.logInfo('Feature finished: "{}"'.format(name))
119119

120+
if future.cancelled():
121+
return
122+
120123
exc = future.exception()
121124
if exc:
122125
if (isinstance(exc, ConnectionClosed) and exc.code > 1002) or isinstance(exc, InvalidStatusCode):

0 commit comments

Comments
 (0)