aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std/src')
-rw-r--r--ctr-std/src/panicking.rs3
1 files changed, 1 insertions, 2 deletions
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")]
{