dense-analysis / dense-analysis/ale
Handle write errors for LSP connections in Vim
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.