diff --git a/src/v/kafka/server/connection_context.cc b/src/v/kafka/server/connection_context.cc index 9eb64ef35c46a..2ec16a839cad5 100644 --- a/src/v/kafka/server/connection_context.cc +++ b/src/v/kafka/server/connection_context.cc @@ -72,6 +72,14 @@ ss::future<> connection_context::process_one_request() { return ss::make_ready_future<>(); } return dispatch_method_once(std::move(h.value()), s) + .handle_exception_type( + [this](const kafka_api_version_not_supported_exception& e) { + vlog( + klog.warn, + "Error while processing request from {} - {}", + _rs.conn->addr, + e.what()); + }) .handle_exception_type([this](const std::bad_alloc&) { // In general, dispatch_method_once does not throw, // but bad_allocs are an exception. Log it cleanly