From 6b32a1b06561ef918c16c6258ed8407bf267cb85 Mon Sep 17 00:00:00 2001 From: ImSoZRious Date: Fri, 7 Jul 2023 14:48:19 +0700 Subject: [PATCH] chore: use display instead of debug --- src/rmq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmq.rs b/src/rmq.rs index 977c2fb..aa1d7ef 100644 --- a/src/rmq.rs +++ b/src/rmq.rs @@ -56,7 +56,7 @@ pub async fn get_stream( while let Some(Ok(delivery)) = consumer.next().await { if let Ok(data) = serde_json::from_slice(&delivery.data) { delivery.ack(BasicAckOptions::default()).await.unwrap(); - tracing::debug!("Recv data: {data:?}"); + tracing::debug!("Recv data: {data}"); yield data; } else { tracing::warn!("Fail to deserialize message");