Add: track savegame size to report with survey (#12304)

This commit is contained in:
Patric Stout
2024-03-16 08:58:56 +01:00
committed by Michael Lutz
parent c947f754bf
commit e8b314afc2
12 changed files with 48 additions and 17 deletions
+4
View File
@@ -102,6 +102,10 @@ void CrashLog::FillCrashLog()
this->survey["stacktrace"] = "crashed while gathering information";
}
if (!this->TryExecute("session", [this]() { SurveyGameSession(this->survey["session"]); return true; })) {
this->survey["session"] = "crashed while gathering information";
}
{
auto &info = this->survey["info"];
if (!this->TryExecute("os", [&info]() { SurveyOS(info["os"]); return true; })) {