diff --git a/indra/llcrashlogger/llcrashlogger.cpp b/indra/llcrashlogger/llcrashlogger.cpp index 0d4579693e..11f9611dff 100644 --- a/indra/llcrashlogger/llcrashlogger.cpp +++ b/indra/llcrashlogger/llcrashlogger.cpp @@ -629,6 +629,12 @@ bool LLCrashLogger::sendCrashLogs() rec["dumpdir"]=opts["dumpdir"]; rec["procname"]=opts["procname"]; } + + // Try to send the current crash right away, if that fails queue it for next time. + if( rec && rec.has("dumpdir") ) + if( !sendCrashLog( rec["dumpdir"].asString() ) ) + newlocks.append(rec); + // if (locks.isArray()) { @@ -667,10 +673,12 @@ bool LLCrashLogger::sendCrashLogs() } } - if (rec) - { - newlocks.append(rec); - } + // We want this appended right away, or this crash only gets send the next time the crashreporter runs. + //if (rec) + //{ + // newlocks.append(rec); + //} + // mKeyMaster.putProcessList(newlocks); return true;