Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track close reason to log context on why WS closed? #171

Open
tiagosiebler opened this issue Dec 4, 2021 · 0 comments
Open

Track close reason to log context on why WS closed? #171

tiagosiebler opened this issue Dec 4, 2021 · 0 comments

Comments

@tiagosiebler
Copy link
Owner

If the library leads a ws close for any reason, it would be useful to track state on why the close was triggered, including that in the log msg:
https://github.com/tiagosiebler/binance/blob/master/src/websocket-client.ts#L254-L256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant