mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-25 20:15:37 +00:00
deps: bump dependencies as of 2023-08-26 (#1287)
This commit is contained in:
+2
-2
@@ -305,7 +305,7 @@ pub fn panic_hook(panic_info: &PanicInfo<'_>) {
|
||||
},
|
||||
};
|
||||
|
||||
let stacktrace = format!("{:?}", backtrace::Backtrace::new());
|
||||
let backtrace = format!("{:?}", backtrace::Backtrace::new());
|
||||
|
||||
let _ = disable_raw_mode();
|
||||
let _ = execute!(
|
||||
@@ -320,7 +320,7 @@ pub fn panic_hook(panic_info: &PanicInfo<'_>) {
|
||||
let _ = execute!(
|
||||
stdout,
|
||||
Print(format!(
|
||||
"thread '<unnamed>' panicked at '{msg}', {panic_info}\n\r{stacktrace}",
|
||||
"thread '<unnamed>' panicked at '{msg}', {panic_info}\n\r{backtrace}",
|
||||
)),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user