diff --git a/src/IO/TimeoutSetter.cpp b/src/IO/TimeoutSetter.cpp index b8b7a814703..b355a119462 100644 --- a/src/IO/TimeoutSetter.cpp +++ b/src/IO/TimeoutSetter.cpp @@ -38,7 +38,11 @@ TimeoutSetter::~TimeoutSetter() } catch (...) { + /// It's known that setting timeouts for a socket often does not work on Apple macOS. + /// Let's not confuse the users of Apple macOS with extraneous error messages. +#if !defined(OS_DARWIN) tryLogCurrentException("Client", "TimeoutSetter: Can't reset timeouts"); +#endif } }