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

Handle write errors for LSP connections in Vim #2120

Open
w0rp opened this issue Dec 5, 2018 · 0 comments
Open

Handle write errors for LSP connections in Vim #2120

w0rp opened this issue Dec 5, 2018 · 0 comments

Comments

@w0rp
Copy link
Member

w0rp commented Dec 5, 2018

For various reasons, calls to ch_sendraw can fail with the following error.

E631: ch_sendraw(): write failed

We should wrap every call in a try ... catch block, and handle these errors. We should probably log an error message in :ALEInfo, or ignore the error entirely. Preferably the former. We cannot prevent the errors from happening. See #1994.

@w0rp w0rp added this to the Version 4.0.0 milestone Feb 3, 2023
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