//! @brief is called when the app crashes void SpringLobbyApp::OnFatalException() { wxLogError("Fatal exception!"); StackTrace stackTracer; stackTracer.WalkFromException(); auto trace = stackTracer.GetStackTrace(); wxLogError("Stack trace: " + trace); }