In the production version of our application (an enterprise application built with Bevy) if there is some unhandled fatal error I would like it to crash with a popup giving some information about the error, that the users could choose to screenshot and pass on to the dev team (instead of asking them to open up log files, for example).
I implemented a custom panic hook to accomplish this with an OS native popup that displays any info contained in the panic, assuming the payload is a string.
However I discovered that using this method I lose the helpful bevy panic messages like Resource requested by ... does not exist
So I guess I'm wondering how to show that helpful bevy error message in a popup on panic/crash?
I will look into the Bevy source code to see if I can see how the panic info payload is structured, possibly that is all I need to solve my issue (a bit of a pain though, as each time bevy updates I'll have to manually check if the payload signature changed and change my code accordingly, since its "Any" type).
Anyone implemented something like this in their Bevy app already?