You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
* add `use_selection_fg` to theme file to allow customizing selection foreground color [[@Upsylonbare](https://github.com/Upsylonbare)] ([#2515](https://github.com/gitui-org/gitui/pull/2515))
* increase MSRV from 1.70 to 1.81 [[@naseschwarz](https://github.com/naseschwarz)] ([#2094](https://github.com/gitui-org/gitui/issues/2094))
* Updated project links to point to `gitui-org` instead of `extrawurst`[[@vasleymus](https://github.com/vasleymus)] ([#2538](https://github.com/gitui-org/gitui/pull/2538))
// do log::error! and eprintln! in one line, pass string, error and backtrace
392
-
macro_rules! log_eprintln {
393
-
($string:expr, $e:expr, $bt:expr) => {
394
-
log::error!($string, $e, $bt);
395
-
eprintln!($string, $e, $bt);
396
-
};
397
-
}
398
-
399
-
fnset_panic_handlers() -> Result<()>{
400
-
// regular panic handler
397
+
fnset_panic_handler() -> Result<()>{
401
398
panic::set_hook(Box::new(|e| {
402
399
let backtrace = Backtrace::new();
403
400
shutdown_terminal();
404
-
log_eprintln!("\nGitUI was close due to an unexpected panic.\nPlease file an issue on https://github.com/gitui-org/gitui/issues with the following info:\n\n{:?}\ntrace:\n{:?}", e, backtrace);
401
+
log_eprintln!("\nGitUI was closed due to an unexpected panic.\nPlease file an issue on https://github.com/gitui-org/gitui/issues with the following info:\n\n{e}\n\ntrace:\n{backtrace:?}");
0 commit comments