Browse Source

Write entire panic message to stderr at once

This change has also been pushed to ctr-std-horizon, so it will carry over on the next rebase
pull/10/head
Fenrir 6 years ago
parent
commit
4d7406a743
  1. 3
      ctr-std/src/panicking.rs

3
ctr-std/src/panicking.rs

@ -223,8 +223,7 @@ fn default_hook(info: &PanicInfo) { @@ -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")]
{

Loading…
Cancel
Save