Skip to content

Commit

Permalink
chore: use display instead of debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSoZRious committed Jul 7, 2023
1 parent 521798e commit 6b32a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rmq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6b32a1b

Please sign in to comment.