make panic outputs in hex

everything else is in hex, why should these be in decimal...
This commit is contained in:
bunnie 2024-05-06 18:47:11 +08:00
parent e8e6b9acfa
commit 77cfc34f59

View file

@ -415,9 +415,9 @@ pub extern "C" fn trap_handler(
_ => {
#[cfg(not(any(feature = "precursor", feature = "renode")))]
println!("!!! Unrecognized exception: {:?}", ex);
println!("!!! Unrecognized exception: {:x?}", ex);
#[cfg(any(feature = "precursor", feature = "renode"))]
panic!("!!! Unrecognized exception: {:?}", ex);
panic!("!!! Unrecognized exception: {:x?}", ex);
}
}