Don't print failure to tag sessions with user agent; usually not a big deal

This commit is contained in:
Thulinma 2017-11-27 11:12:59 +01:00
parent 13c224e698
commit b9a90b134d

View file

@ -234,7 +234,9 @@ void Controller::sessId_tag(const std::string & sessId, const std::string & tag)
return;
}
}
WARN_MSG("Session %s not found - cannot tag with %s", sessId.c_str(), tag.c_str());
if (tag.substr(0, 3) != "UA:"){
WARN_MSG("Session %s not found - cannot tag with %s", sessId.c_str(), tag.c_str());
}
}
///Shuts down sessions with the given tag set