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
Hey, I was wondering if there is any plan in having the method message from PanicInfo available in rust stable. The documentation points to an issue that is closed (#44489).
Is there another recommended way to get the panic information? I was also thinking about replacing the panic_hook with catch_unwind but we might get into problems if the external crates that we are using are implementing panic with abort.
The text was updated successfully, but these errors were encountered:
IIRC PanicInfo implement Display which means you can either do println!("{}", panicinfo) or let info = panicinfo.to_string(). I guess message will be removed therefore.
Hey, I was wondering if there is any plan in having the method
message
fromPanicInfo
available in rust stable. The documentation points to an issue that is closed (#44489).Related to the following issues in Firecracker:
Is there another recommended way to get the panic information? I was also thinking about replacing the panic_hook with catch_unwind but we might get into problems if the external crates that we are using are implementing panic with abort.
The text was updated successfully, but these errors were encountered: