diff --git a/crates/tasks/src/lib.rs b/crates/tasks/src/lib.rs index 4f7e61b6b..79ce94027 100644 --- a/crates/tasks/src/lib.rs +++ b/crates/tasks/src/lib.rs @@ -183,7 +183,7 @@ impl Future for TaskManager { /// Error with the name of the task that panicked. #[derive(Debug, thiserror::Error)] -#[error("Critical task panicked {0}")] +#[error("Critical task panicked: `{0}`")] pub struct PanickedTaskError(&'static str); /// A type that can spawn new tokio tasks