Skip to content

Commit 94d0f3e

Browse files
authored
chore: better highlight panicked task name (paradigmxyz#3205)
1 parent 3ace10d commit 94d0f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/tasks/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl Future for TaskManager {
183183

184184
/// Error with the name of the task that panicked.
185185
#[derive(Debug, thiserror::Error)]
186-
#[error("Critical task panicked {0}")]
186+
#[error("Critical task panicked: `{0}`")]
187187
pub struct PanickedTaskError(&'static str);
188188

189189
/// A type that can spawn new tokio tasks

0 commit comments

Comments
 (0)