diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 4b4a622d3..2a70a1c8f 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -17791,6 +17791,17 @@ This should be as low as possible, but too low may break functionality Value 0 + CrashReportID + + Comment + ID of the last crash report sent. Zero indicates that no crash report has been sent. Non-zero value can be useful infermation for developers to track a specific issue + Persist + 1 + Type + S32 + Value + 0 + diff --git a/indra/newview/llcrashlogger.cpp b/indra/newview/llcrashlogger.cpp index d79db0fae..e0a52cc62 100644 --- a/indra/newview/llcrashlogger.cpp +++ b/indra/newview/llcrashlogger.cpp @@ -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