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

internal: Expose whether a channel has been dropped in lsp-server errors #16226

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jan 1, 2024

Not the best way to expose this, but this should allow us to give somewhat better errors when the initialization request is malformed, as currently that just results in a channel disconnected error instead of the deserialization error. cc #15859

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 1, 2024
@Veykril
Copy link
Member Author

Veykril commented Jan 1, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Jan 1, 2024

📌 Commit 3c8dd9e has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jan 1, 2024

⌛ Testing commit 3c8dd9e with merge a8d935e...

@bors
Copy link
Contributor

bors commented Jan 1, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing a8d935e to master...

@bors bors merged commit a8d935e into rust-lang:master Jan 1, 2024
10 checks passed
@Veykril Veykril deleted the lsp-server branch September 9, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants