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: Report all LSP protocol errors with invalid_data #17207

Merged
merged 1 commit into from
May 9, 2024

Conversation

Wilfred
Copy link
Contributor

@Wilfred Wilfred commented May 8, 2024

Previously we did not use invalid_data for serde errors, making it harder to understand errors when the client sends malformed data to the server.

Previously we did not use invalid_data for serde errors, making it
harder to understand errors when the client sends malformed data to
the server.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 8, 2024
@Wilfred Wilfred marked this pull request as ready for review May 8, 2024 23:08
@lnicola
Copy link
Member

lnicola commented May 9, 2024

Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented May 9, 2024

📌 Commit 84fdb72 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented May 9, 2024

⌛ Testing commit 84fdb72 with merge 7d1b3a6...

@bors
Copy link
Collaborator

bors commented May 9, 2024

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 7d1b3a6 to master...

@bors bors merged commit 7d1b3a6 into rust-lang:master May 9, 2024
11 checks passed
@Wilfred Wilfred deleted the serde_invalid_data branch May 9, 2024 14:19
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.

None yet

5 participants