diff options
author | Oz Linden <oz@lindenlab.com> | 2014-03-14 16:19:21 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-03-14 16:19:21 -0400 |
commit | 3ee3d4a8f4b74a5f0b75fa54cb8e1cef0b1ef28e (patch) | |
tree | 689dac0020610e4e6b6b438035af614666a1216f /indra/newview | |
parent | 06bdcef531c79db7f6901e2c5f5f63b2f75ad4e5 (diff) |
correct logging levels (ERR causes a crash), and a minor style fix
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsyntaxid.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp index 7deb976c2a..80511cd73f 100644 --- a/indra/newview/llsyntaxid.cpp +++ b/indra/newview/llsyntaxid.cpp @@ -50,7 +50,7 @@ void fetchKeywordsFileResponder::errorWithContent(U32 status, const LLSD& content) { LLSyntaxIdLSL::sLoadFailed = true; - LL_ERRS("SyntaxLSL") + LL_WARNS("SyntaxLSL") << "fetchKeywordsFileResponder error [status:" << status << "]: " << content << LL_ENDL; @@ -88,7 +88,7 @@ void fetchKeywordsFileResponder::result(const LLSD& content_ref) { LLSyntaxIdLSL::sLoaded = false; LLSyntaxIdLSL::sLoadFailed = true; - LL_ERRS("SyntaxLSL") + LL_WARNS("SyntaxLSL") << "Syntax file '" << mFileSpec << "' contains invalid LLSD!" << LL_ENDL; } @@ -174,7 +174,7 @@ bool LLSyntaxIdLSL::checkSyntaxIdChanged() if (!region->capabilitiesReceived()) { // Shouldn't be possible, but experience shows that it may be needed. sLoadFailed = true; - LL_ERRS("SyntaxLSL") + LL_WARNS("SyntaxLSL") << "Region '" << region->getName() << "' has not received capabilities yet! Cannot process SyntaxId." << LL_ENDL; @@ -304,7 +304,7 @@ void LLSyntaxIdLSL::initialise() else { sLoadFailed = true; - LL_ERRS("SyntaxLSL") + LL_WARNS("SyntaxLSL") << "LSLSyntaxId capability URL is empty!!" << LL_ENDL; loadDefaultKeywordsIntoLLSD(); } @@ -388,7 +388,7 @@ void LLSyntaxIdLSL::loadKeywordsIntoLLSD() sLoaded = (bool)LLSDSerialize::fromXML(content, file); if (!sLoaded) { - LL_ERRS("SyntaxLSL") + LL_WARNS("SyntaxLSL") << "Unable to deserialise file: " << mFullFileSpec << LL_ENDL; } |