minor: clarify error message

Clarify that the server is a whole is OK, and that it's only a single
requests that's dead
This commit is contained in:
Aleksey Kladov 2022-04-24 13:39:33 +01:00
parent c61bb6be8c
commit 83aa42ae69

View File

@ -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>()