Added CrashReportID debug setting that will be set to the ID of the last crash that was sent to the crash tracker

This commit is contained in:
Latif Khalifa
2013-11-29 16:22:06 +01:00
parent d8fa14cac5
commit e41b346046
2 changed files with 17 additions and 0 deletions

View File

@@ -68,6 +68,12 @@ public:
msg += ": " + content["message"].asString();
}
llinfos << msg << llendl;
if (content.has("report_id"))
{
gSavedSettings.setS32("CrashReportID", content["report_id"].asInteger());
}
}
virtual AIHTTPTimeoutPolicy const& getHTTPTimeoutPolicy(void) const