[Exception] More detailed crash message

This commit is contained in:
momo5502 2017-02-10 21:46:32 +01:00
parent ef675d4d87
commit 77bda3aea3

View File

@ -64,9 +64,8 @@ namespace Components
if (!doFullDump) if (!doFullDump)
{ {
if (MessageBoxA(nullptr, if (MessageBoxA(nullptr,
Utils::String::VA("IW4x has encountered an exception and needs to close.\n" Utils::String::VA("%s\n\n" // errorStr
"%s\n" // errorStr "Would you like to create a full crash dump for the developers (this can be 100mb or more)?\nNo will create small dumps that are automatically uploaded.", errorStr),
"Would you like to create a full crash dump for the developers? (this can be almost 100mb)", errorStr),
"IW4x Error!", MB_YESNO | MB_ICONERROR) == IDYES) "IW4x Error!", MB_YESNO | MB_ICONERROR) == IDYES)
{ {
doFullDump = true; doFullDump = true;