diff options
author | Oz Linden <oz@lindenlab.com> | 2019-03-05 13:57:02 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2019-03-05 13:57:02 -0500 |
commit | 07870a9ebb17e7a31df276f4ac2d8f52fec2a3b0 (patch) | |
tree | 44d347784baca004016feb5a7d88df51ff9f0eef /indra/newview/llappviewer.cpp | |
parent | e86c0b3d0fbc5f91090241be959ef19bfffd8636 (diff) |
rename crash handler to hook, and make them chainable by putting back the get and documenting it
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 8b9f9085b1..8616fe7c76 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2134,7 +2134,7 @@ bool LLAppViewer::initThreads() return true; } -LLError::ErrCrashHandlerResult fatalErrorHandler(const std::string &error_string) +LLError::ErrFatalHookResult fatalErrorHook(const std::string &error_string) { #ifndef LL_RELEASE_FOR_DOWNLOAD OSMessageBox(error_string, LLTrans::getString("MBFatalError"), OSMB_OK); @@ -2166,7 +2166,7 @@ void LLAppViewer::initLoggingAndGetLastDuration() LLError::initForApplication( gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "") ,gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "") ); - LLError::setFatalHandler(fatalErrorHandler); + LLError::setFatalHook(fatalErrorHook); // Remove the last ".old" log file. std::string old_log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, |