ftx-api
ftx-api copied to clipboard
Try/catch any emit calls
https://github.com/tiagosiebler/ftx-api/blob/master/src/websocket-client.ts#L354
Any emit
calls in the ws client should be wrapped in try/catch, otherwise an exception thrown in implementation code (outside the connector) might trigger the error handlers inside the connector (e.g Exception parsing ws message
), which can be misleading