diff --git a/openraft/src/raft.rs b/openraft/src/raft.rs index 1426d5b2e..156807da1 100644 --- a/openraft/src/raft.rs +++ b/openraft/src/raft.rs @@ -678,9 +678,9 @@ where E: Debug, { let sum = if tracing::enabled!(Level::DEBUG) { - None - } else { Some(mes.summary()) + } else { + None }; let send_res = self.inner.tx_api.send(mes);