Fix error msg

This commit is contained in:
FutureRave 2022-02-14 00:35:59 +00:00
parent 12677a0f93
commit 66bd210bdb
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -98,11 +98,11 @@ namespace Components
std::string errorStr; std::string errorStr;
if (ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_STACK_OVERFLOW) if (ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_STACK_OVERFLOW)
{ {
errorStr = "Termination because of a stack overflow."; errorStr = "Termination because of a stack overflow.\nCopy exception address to clipboard?";
} }
else else
{ {
errorStr = Utils::String::VA("Fatal error (0x%08X) at 0x%08X.\n Copy exception address to clipboard?", ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo->ExceptionRecord->ExceptionAddress); errorStr = Utils::String::VA("Fatal error (0x%08X) at 0x%08X.\nCopy exception address to clipboard?", ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo->ExceptionRecord->ExceptionAddress);
} }
//Exception::SuspendProcess(); //Exception::SuspendProcess();