STORM-1186 FIXED Removed the "no mCurrentRMessageTemplate" warning message.
The mCurrentRMessageTemplate member seems to only be non-NULL for a short while after an incoming message was validated and parsed, thus there is no guarantee that we can obtain name of the last received message at any given time. So if we can't we'll simply return an empty string without spamming the log with warnings.master
parent
cfacd12d13
commit
3a82169e2e
|
|
@ -795,7 +795,7 @@ const char* LLTemplateMessageReader::getMessageName() const
|
|||
{
|
||||
if (!mCurrentRMessageTemplate)
|
||||
{
|
||||
llwarns << "no mCurrentRMessageTemplate" << llendl;
|
||||
// no message currently being read
|
||||
return "";
|
||||
}
|
||||
return mCurrentRMessageTemplate->mName;
|
||||
|
|
|
|||
Loading…
Reference in New Issue