diff --git a/deps/rabbitmq_stream/src/rabbit_stream_manager.erl b/deps/rabbitmq_stream/src/rabbit_stream_manager.erl index 3ea6ccc86f29..ebd69ad4423f 100644 --- a/deps/rabbitmq_stream/src/rabbit_stream_manager.erl +++ b/deps/rabbitmq_stream/src/rabbit_stream_manager.erl @@ -418,8 +418,10 @@ handle_call({topology, VirtualHost, Stream}, _From, State) -> #{leader_node => undefined, replica_nodes => []}, Members)}; - _ -> - {error, not_available} + Err -> + rabbit_log:info("Error locating ~tp stream members: ~tp", + [StreamName, Err]), + {error, stream_not_available} end; {error, not_found} -> {error, stream_not_found};