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 GitHub
parent b394c20519
commit 3e625b5b1a
12 changed files with 48 additions and 17 deletions

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; })) {