mirror of https://github.com/OpenRCT2/OpenRCT2.git
Provide more traces for breakpad
This commit is contained in:
parent
826918c0c6
commit
f9e870a388
|
@ -459,6 +459,13 @@ static void PrintVersion()
|
|||
Console::WriteLine();
|
||||
Console::WriteFormat("Minimum park file version: %d", OpenRCT2::PARK_FILE_MIN_VERSION);
|
||||
Console::WriteLine();
|
||||
#ifdef USE_BREAKPAD
|
||||
Console::WriteFormat("With breakpad support enabled");
|
||||
Console::WriteLine();
|
||||
#else
|
||||
Console::WriteFormat("Breakpad support disabled");
|
||||
Console::WriteLine();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void PrintLaunchInformation()
|
||||
|
|
|
@ -186,8 +186,9 @@ static bool OnCrash(
|
|||
exporter->Export(saveFilePathUTF8.c_str());
|
||||
savedGameDumped = true;
|
||||
}
|
||||
catch (const std::exception&)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
printf("Failed to export save. Error: %s\n", e.what());
|
||||
}
|
||||
|
||||
// Compress the save
|
||||
|
@ -225,6 +226,7 @@ static bool OnCrash(
|
|||
|
||||
if (gOpenRCT2SilentBreakpad)
|
||||
{
|
||||
printf("Uploading minidump in silent mode...\n");
|
||||
int error;
|
||||
std::wstring response;
|
||||
UploadMinidump(uploadFiles, error, response);
|
||||
|
|
Loading…
Reference in New Issue