diff --git a/server/base/error.rs b/server/base/error.rs index 6078b78..c9880be 100644 --- a/server/base/error.rs +++ b/server/base/error.rs @@ -35,7 +35,7 @@ use std::fmt::{self, Write}; pub fn prettify_failure(e: &failure::Error) -> String { let mut msg = e.to_string(); for cause in e.iter_causes() { - write!(&mut msg, "caused by: {}", cause).unwrap(); + write!(&mut msg, "\ncaused by: {}", cause).unwrap(); } if e.backtrace().is_empty() { write!(&mut msg, "\n(set environment variable RUST_BACKTRACE=1 to see backtraces)")