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
+
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