File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4879,10 +4879,19 @@ void LLAgent::parseTeleportMessages(const std::string& xml_filename)
4879
4879
LLXMLNodePtr root;
4880
4880
bool success = LLUICtrlFactory::getLayeredXMLNode (xml_filename, root);
4881
4881
4882
- if (!success || !root || !root-> hasName ( " teleport_messages " ) )
4882
+ if (!success)
4883
4883
{
4884
+ LLError::LLUserWarningMsg::showMissingFiles ();
4884
4885
LL_ERRS () << " Problem reading teleport string XML file: "
4885
- << xml_filename << LL_ENDL;
4886
+ << xml_filename << LL_ENDL;
4887
+ return ;
4888
+ }
4889
+
4890
+ if (!root || !root->hasName (" teleport_messages" ))
4891
+ {
4892
+ LLError::LLUserWarningMsg::showMissingFiles ();
4893
+ LL_ERRS () << " Invalid teleport string XML file: "
4894
+ << xml_filename << LL_ENDL;
4886
4895
return ;
4887
4896
}
4888
4897
You can’t perform that action at this time.
0 commit comments