Skip to content

Commit 1e64296

Browse files
horncayrtonm
authored andcommitted
re-add the info.message() output (oops!)
1 parent 27c02e5 commit 1e64296

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

psx/src/panic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fn min_panic(info: &core::panic::PanicInfo) {
4444
println!("Panicked at unknown location")
4545
},
4646
}
47+
println!("{}", info.message());
4748
}
4849

4950
fn normal_panic(info: &core::panic::PanicInfo) {
@@ -67,6 +68,7 @@ fn normal_panic(info: &core::panic::PanicInfo) {
6768
dprintln!(txt, "Panicked at unknown location");
6869
},
6970
}
71+
dprintln!(txt, "{}", info.message());
7072
fb.draw_sync();
7173
fb.wait_vblank();
7274
fb.swap();

0 commit comments

Comments
 (0)