-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
Issue type
- bug
- missing functionality
- performance
- feature request
Brief description
I believe the following 2 errors should be emitted by the WS2Manager instead of just being logged:
bitfinex-api-node/lib/ws2_manager.js
Lines 284 to 288 in fabfc1c
ws.open().then(() => { | |
return debug('socket connection opened') | |
}).catch((err) => { | |
debug('error opening socket: %s', err.stack) | |
}) |
bitfinex-api-node/lib/ws2_manager.js
Lines 276 to 281 in fabfc1c
ws.auth().then(() => { | |
return debug('socket authenticated') | |
}).catch((err) => { | |
debug('error authenticating socket: %s', err.message) | |
}) | |
}) |
Steps to reproduce
Start WS2Manager with an invalid url (api.bitfinex.com/ws/2
instead of wss://api.bitfinex.com/ws/2
) and try to subscribe to one of the channel (for example call subscribeTicker('tBTCUSD'
).
Additional Notes:
Metadata
Metadata
Assignees
Labels
No labels