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

Fix exception for null response id #2233

Merged
merged 1 commit into from
Apr 9, 2023

Conversation

jwortmann
Copy link
Member

This should fix an uncatched exception in case of server response with id null, which apparently is valid per LSP & JSON-RPC specs and is or was used by at least one server (JohnnyMorganz/luau-lsp#161 - maybe in a bit inappropriate way, though).

@predragnikolic predragnikolic merged commit a3641dd into sublimelsp:main Apr 9, 2023
@jwortmann jwortmann deleted the fix-null-response-id branch April 9, 2023 14:32
rchl added a commit that referenced this pull request Apr 17, 2023
* main:
  Clear pull diagnostics on file closed (#2224)
  html-escape diagnostic-related strings (#2228)
  Allow style overrides for inlay_hints.css (#2232)
  Fix exception for null response id (#2233)
  Add "outline" as an option for "document_highlight_style" (#2234)
  remove accidentally committed files
  Improve label detail support in completions (#2212)
  Update clojure-lsp docs (#2226)
  Add support for pull diagnostics (#2221)
  update test MockManager after API change
  add a client option for hiding non-project diagnostics (#2218)
  Fix some features might not work with dynamical registration (#2222)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants