diff options
Diffstat (limited to 'src/mongo/transport')
-rw-r--r-- | src/mongo/transport/transport_layer_asio.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/transport/transport_layer_asio.cpp b/src/mongo/transport/transport_layer_asio.cpp index a338183d693..2d43c75097c 100644 --- a/src/mongo/transport/transport_layer_asio.cpp +++ b/src/mongo/transport/transport_layer_asio.cpp @@ -105,7 +105,9 @@ private: armTimer(); return _timer->async_wait(UseFuture{}).tapError([timer = _timer](const Status& status) { - LOG(2) << "Timer received error: " << status; + if (status != ErrorCodes::CallbackCanceled) { + LOG(2) << "Timer received error: " << status; + } }); } catch (asio::system_error& ex) { |