SysLog(NID_APP, "Key = [%s], Value = [%s]", pKey, pValue);
MultiHashMap* pMultiMap = (MultiHashMap*) pUserData;
- pMultiMap->Add(*(new (std::nothrow) String(pKey)), *(new (std::nothrow) String(pValue)));
+ result r = pMultiMap->Add(*(new (std::nothrow) String(pKey)), *(new (std::nothrow) String(pValue)));
+ SysTryReturn(NID_APP, r == E_SUCCESS, -1, E_SYSTEM, "pMultiMap->Add() failed. [%s]", GetErrorMessage(GetLastResult()));
return 0;
}