kucoin-java-sdk icon indicating copy to clipboard operation
kucoin-java-sdk copied to clipboard

Error handling from API to user code

Open sfergu opened this issue 3 years ago • 1 comments

When something goes wrong with the underlying websocket, timeout, SSL issue, etc. the websocket API logs the error, but then does nothing to notify the caller of the API that something has gone wrong. Making it impossible to handle errors and reset/restart the websocket. Is there something I am missing that handles this in the API? Thanks!

sfergu avatar Mar 16 '21 03:03 sfergu

Having the same problem as well. This makes this library unusable basically, since websockets are run on an uncontrolled thread.

Swoorup avatar Apr 08 '21 15:04 Swoorup