Avoid suppressing panic messages (#2323)

* print `PanicInfo` using hook
* update changelog
This commit is contained in:
Christian Poveda Ruiz
2022-10-24 11:52:46 -05:00
committed by GitHub
parent 0cb72922b7
commit dfc25a6bb9
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -41,10 +41,11 @@ pub fn main() {
#[cfg(feature = "logging")]
clang_version_check();
std::panic::set_hook(Box::new(move |_info| {
std::panic::set_hook(Box::new(move |info| {
if verbose {
print_verbose_err()
}
println!("{}", info);
}));
let bindings =