Added notification that chat report has been sent after the user logs in.
This will also add a line in the chat log with the report id
This commit is contained in:
@@ -63,11 +63,17 @@ public:
|
||||
virtual void result(const LLSD& content)
|
||||
{
|
||||
std::string msg = "Crash report successfully sent";
|
||||
|
||||
if (content.has("message"))
|
||||
{
|
||||
msg += ": " + content["message"].asString();
|
||||
}
|
||||
llinfos << msg << llendl;
|
||||
|
||||
if (content.has("report_id"))
|
||||
{
|
||||
LLCrashLogger::sReportID = content["report_id"].asInteger();
|
||||
}
|
||||
}
|
||||
|
||||
virtual AIHTTPTimeoutPolicy const& getHTTPTimeoutPolicy(void) const
|
||||
@@ -93,6 +99,8 @@ LLCrashLogger::~LLCrashLogger()
|
||||
|
||||
}
|
||||
|
||||
/*static*/ S32 LLCrashLogger::sReportID = 0;
|
||||
|
||||
// TRIM_SIZE must remain larger than LINE_SEARCH_SIZE.
|
||||
const int TRIM_SIZE = 128000;
|
||||
const int LINE_SEARCH_DIST = 500;
|
||||
|
||||
Reference in New Issue
Block a user