diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs index 4cdde2b..c612604 100644 --- a/ctr-std/src/panicking.rs +++ b/ctr-std/src/panicking.rs @@ -223,8 +223,7 @@ fn default_hook(info: &PanicInfo) { } let write = |err: &mut dyn (::io::Write)| { - let _ = writeln!(err, "thread '{}' panicked at '{}', {}", - name, msg, location); + let _ = write!(err, "{}", error_text); #[cfg(feature = "backtrace")] {