SL-19664 Crash in LLAppViewer::initStrings - make the error message more informative

master
Alexander Gavriliuk 2023-08-30 16:57:36 +02:00 committed by Guru
parent 6a1846e91a
commit 200696f25c
1 changed files with 4 additions and 1 deletions

View File

@ -2980,7 +2980,10 @@ void LLAppViewer::initStrings()
{
// initial check to make sure files are there failed
gDirUtilp->dumpCurrentDirectories(LLError::LEVEL_WARN);
LL_ERRS() << "Viewer failed to find localization and UI files. Please reinstall viewer from https://secondlife.com/support/downloads/ and contact https://support.secondlife.com if issue persists after reinstall." << LL_ENDL;
LL_ERRS() << "Viewer failed to find localization and UI files"
<< " (strings_path_full = '" << strings_path_full << "')."
<< " Please reinstall viewer from https://secondlife.com/support/downloads"
<< " and contact https://support.secondlife.com if issue persists after reinstall." << LL_ENDL;
}
LLTransUtil::parseStrings(strings_file, default_trans_args);
LLTransUtil::parseLanguageStrings("language_settings.xml");