mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Provide more traces for breakpad
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user