From 96d7cd29f636fa570498b7fa4b71eabc4e1923eb Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Wed, 15 Sep 2021 22:31:02 +0300 Subject: SL-16004 Fix bugsplat displaying wrong top function bugsplat shows KERNELBASE!RaiseException and flush() insread of forceErrorLLError, function crashes too early. --- indra/llcommon/llerror.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'indra/llcommon/llerror.cpp') diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 8355df9045..b45411ad9d 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -1397,7 +1397,10 @@ namespace LLError if (site.mLevel == LEVEL_ERROR) { g->mFatalMessage = message; - s->mCrashFunction(message); + if (s->mCrashFunction) + { + s->mCrashFunction(message); + } } } } -- cgit v1.2.3