mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
dbms: added message [#METR-9462]
This commit is contained in:
parent
666ff5201f
commit
e78d87d9f3
@ -14,6 +14,8 @@
|
|||||||
#include <DB/Core/ErrorCodes.h>
|
#include <DB/Core/ErrorCodes.h>
|
||||||
#include <DB/IO/ReadHelpers.h>
|
#include <DB/IO/ReadHelpers.h>
|
||||||
|
|
||||||
|
#include <Yandex/logger_useful.h>
|
||||||
|
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
@ -208,8 +210,13 @@ public:
|
|||||||
}
|
}
|
||||||
catch (const DB::Exception & e)
|
catch (const DB::Exception & e)
|
||||||
{
|
{
|
||||||
|
LOG_WARNING(&Poco::Util::Application::instance().logger(),
|
||||||
|
"Fail to check if pattern contains address " << addr.toString() << ". e.message = "<< e.message() <<
|
||||||
|
", e.code = " << e.code());
|
||||||
if (e.code() == ErrorCodes::DNS_ERROR)
|
if (e.code() == ErrorCodes::DNS_ERROR)
|
||||||
|
{
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user