mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 02:30:51 +00:00
Minor changes in code #14254
This commit is contained in:
parent
c1d5713110
commit
f0927cbb43
@ -34,11 +34,11 @@ TimeoutSetter::~TimeoutSetter()
|
||||
socket.setSendTimeout(old_send_timeout);
|
||||
socket.setReceiveTimeout(old_receive_timeout);
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
catch (...)
|
||||
{
|
||||
/// Sometimes caught on Mac OS X. This message can be safely ignored.
|
||||
/// If you are developer using Mac, please debug this error message by yourself.
|
||||
LOG_ERROR(&Poco::Logger::get("Client"), "TimeoutSetter: Can't reset timeouts: {}", e.what());
|
||||
tryLogCurrentException("Client", "TimeoutSetter: Can't reset timeouts");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user