Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #12070 - rust-lang:message, r=matklad
minor: clarify error message Clarify that the server is a whole is OK, and that it's only a single requests that's dead
bors 2022-04-24
parent c61bb6b · parent 83aa42a · commit b5d7a71
-rw-r--r--crates/rust-analyzer/src/dispatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/dispatch.rs b/crates/rust-analyzer/src/dispatch.rs
index 9f09af1ff7..d770325983 100644
--- a/crates/rust-analyzer/src/dispatch.rs
+++ b/crates/rust-analyzer/src/dispatch.rs
@@ -166,7 +166,7 @@ where
match result {
Ok(result) => result_to_response::<R>(id, result),
Err(panic) => {
- let mut message = "server panicked".to_string();
+ let mut message = "request handler panicked".to_string();
let panic_message = panic
.downcast_ref::<String>()