Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars committed Aug 22, 2024
1 parent a34ab52 commit dc3c612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions msim/src/sim/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ impl Executor {
let hook_guard = Arc::new(PanicHookGuard::new());
let hook_guard_clone = Arc::downgrade(&hook_guard);
std::panic::set_hook(Box::new(move |panic_info| {
println!("panic occurred: {panic_info}");
if panic_info
.payload()
.downcast_ref::<PanicWrapper>()
Expand Down

0 comments on commit dc3c612

Please sign in to comment.