- if (registerSessionId) {
- try {
- std::string sid = anna::diameter::helpers::base::functions::getSessionId(db);
- TestManager::instantiate().registerSessionId(sid, this);
- }
- catch (anna::RuntimeException &ex) {
- //ex.trace();
- // if we don't have session-id ... don't worry
- }
- }