summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-14 22:26:43 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-14 22:59:26 +0200
commit935c1362a222f192bf913270d01f6c31c16e175b (patch)
tree3f9dd69cb9de88f5fdc820c2a49615e4f8ab7198 /indra/newview
parenta5f06a1b8136f0cdfc520e94166de202f3925505 (diff)
Restored SL-14961
SL-14961 works better for windows than rethrow
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewerwin32.cpp10
-rw-r--r--indra/newview/llappviewerwin32.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp
index 6a504bbdbd..ee533875b6 100644
--- a/indra/newview/llappviewerwin32.cpp
+++ b/indra/newview/llappviewerwin32.cpp
@@ -708,6 +708,16 @@ bool LLAppViewerWin32::cleanup()
return result;
}
+void LLAppViewerWin32::reportCrashToBugsplat(void* pExcepInfo)
+{
+#if defined(LL_BUGSPLAT)
+ if (sBugSplatSender)
+ {
+ sBugSplatSender->createReport((EXCEPTION_POINTERS*)pExcepInfo);
+ }
+#endif // LL_BUGSPLAT
+}
+
void LLAppViewerWin32::initLoggingAndGetLastDuration()
{
LLAppViewer::initLoggingAndGetLastDuration();
diff --git a/indra/newview/llappviewerwin32.h b/indra/newview/llappviewerwin32.h
index 3e3fc55151..82b6b0c77c 100644
--- a/indra/newview/llappviewerwin32.h
+++ b/indra/newview/llappviewerwin32.h
@@ -43,6 +43,8 @@ public:
bool init() override; // Override to do application initialization
bool cleanup() override;
+ void reportCrashToBugsplat(void* pExcepInfo) override;
+
protected:
void initLoggingAndGetLastDuration() override; // Override to clean stack_trace info.
void initConsole() override; // Initialize OS level debugging console.