From a5115aa69e0ebc38146ca493347a9990656627ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Thu, 9 Jan 2020 12:41:43 -0500 Subject: [PATCH] Fix Crash T, someone broke their install, but we should gracefully exit --- indra/newview/llappviewer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 76ae9bc2d..a143a4ce3 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2287,7 +2287,9 @@ bool LLAppViewer::initConfiguration() LL_INFOS() << "Loading settings file list" << settings_file_list << LL_ENDL; if (0 == settings_control.loadFromFile(settings_file_list)) { - LL_ERRS() << "Cannot load default configuration file " << settings_file_list << LL_ENDL; + OSMessageBox("Cannot load default configuration file " + settings_file_list + " The installation may be corrupted.", + LLStringUtil::null,OSMB_OK); + return false; } mSettingsLocationList = settings_control.getLLSD("Locations");