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:
parent
c61bb6be8c
commit
83aa42ae69
@ -166,7 +166,7 @@ where
|
|||||||
match result {
|
match result {
|
||||||
Ok(result) => result_to_response::<R>(id, result),
|
Ok(result) => result_to_response::<R>(id, result),
|
||||||
Err(panic) => {
|
Err(panic) => {
|
||||||
let mut message = "server panicked".to_string();
|
let mut message = "request handler panicked".to_string();
|
||||||
|
|
||||||
let panic_message = panic
|
let panic_message = panic
|
||||||
.downcast_ref::<String>()
|
.downcast_ref::<String>()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user