bybit-exchange / pybit

Official Python3 API connector for Bybit's HTTP and WebSockets APIs.
Other
340 stars 113 forks source link

How to handle errors in callback function? #209

Open karambaq opened 2 months ago

karambaq commented 2 months ago

If there is any error in callback function then it just stops and tearing down

tearing down on exception division by zero

How to catch the error and don't close the current connection?