-
Notifications
You must be signed in to change notification settings - Fork 46
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
✨ Update logging of closed RPC errors #623
✨ Update logging of closed RPC errors #623
Conversation
b56144b
to
0e649cc
Compare
Signed-off-by: Alejandro Brugarolas <abrugaro@redhat.com>
0e649cc
to
63a54f1
Compare
I love the error method big +1 on that. I wonder if we can add this at the end of the Call and Notify calls in the jsontrpc2_v2 package here: I am thinking something in the Call and Notify calls here: https://github.com/konveyor/analyzer-lsp/blob/main/jsonrpc2_v2/conn.go#L312 This would allow for other providers to get the benefit if they are using these packages as well? |
Thanks for your comment @shawn-hurley In the And one more question, should I do the same for the jsonrpc2 (v1) package? Thanks!! |
Yes those locations look correct to me and yes if you can add it in v1 as well that would be amazing |
Signed-off-by: Alejandro Brugarolas <abrugaro@redhat.com>
f8c55e2
to
f096ee5
Compare
@abrugaro, we are experiencing some issues with the CI system, so while this is a low-risk change that I would normally merge on green, this might take a little longer to get in. I am sorry |
Sure, its my first contribution to this project so I prefer to wait to be sure that everything is ok before merging 😄 |
Thank you @abrugaro this is a really helpful change! |
Solves #500