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
- Added additional error checking in case minidump generation fails. Should hopefully report when minidumps fail to create and log the last windows error. Can't say for certain since I don't know how to repro it
- Removed some info from the minidump that I'm not using at this time. Makes minidumps much smaller. ~15MB in my tests instead of several hundred MB
string errorMessage = fmt::format("A fatal error has occurred! Nanoforge will crash once you press \"OK\". Please wait for the window to close so the crash dump can save. After that send MasterLog.log and the most recent CrashDump file to moneyl on the RF discord. If you're not on the RF discord you can join it by making a discord account and going to RFChat.com. Exception code: {}. Continuable: {}", errorCodeString, continuable);
63
+
string errorMessage = fmt::format("A fatal error has occurred! Nanoforge will crash once you press \"OK\". Please wait for the window to close so the crash dump can save. After that send MasterLog.log and the most recent .dmp file to moneyl on the RF discord. If you're not on the RF discord you can join it by making a discord account and going to RFChat.com. Exception code: {}", errorCodeString);
52
64
53
65
//Log crash data, generate minidump, and notify user via message box
ShowMessageBox("Failed to create minidump after fatal error! Please send MasterLog.log to moneyl on the RF discord (RFChat.com). Nanoforge will exit after you click OK.", "Failed to create minidump.", MB_OK);
74
+
}
56
75
LOG_ERROR(errorMessage);
57
76
return EXCEPTION_CONTINUE_SEARCH; //Crash regardless of continuability. In testing I found it'd endlessly call the crash handler when continuing after some continuable exceptions
0 commit comments