mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 04:50:50 +00:00
Merge pull request #100 from Hoverbear-Consulting/merge-backtrace-omitted-lines
Join backtrace omission lines
This commit is contained in:
commit
702f71f475
@ -229,10 +229,9 @@ impl fmt::Display for BacktraceOmited {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
// Print some info on how to increase verbosity.
|
||||
if self.0 {
|
||||
writeln!(f, "Backtrace omitted.")?;
|
||||
write!(
|
||||
f,
|
||||
"Run with RUST_BACKTRACE=1 environment variable to display it."
|
||||
"Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it."
|
||||
)?;
|
||||
} else {
|
||||
// This text only makes sense if frames are displayed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user