Fix a monitoring uri crashing issue
This commit is contained in:
Родитель
241777db68
Коммит
7ebc7d3e53
|
@ -119,6 +119,11 @@ namespace hpc
|
|||
"Fix the monitoring data big-endian issue",
|
||||
}
|
||||
},
|
||||
{ "1.2.1.5",
|
||||
{
|
||||
"Fix the report uri cannot be resolved issue",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return versionHistory;
|
||||
|
|
|
@ -34,7 +34,7 @@ UdpReporter::UdpReporter(
|
|||
if (ret != 0)
|
||||
{
|
||||
Logger::Error("getaddrinfo failed {0}", gai_strerror(ret));
|
||||
throw std::runtime_error(String::Join(" ", "getaddrinfo failed", gai_strerror(ret)));
|
||||
return;
|
||||
}
|
||||
|
||||
bool success = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче