From 698c80a6fdca5f0a68aa30937b83934f6d88ddaa Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Mon, 8 Jan 2024 15:51:49 +0100 Subject: [PATCH] Some more variables --- libsignal-service-actix/src/websocket.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsignal-service-actix/src/websocket.rs b/libsignal-service-actix/src/websocket.rs index 53c35a041..316b7a6e0 100644 --- a/libsignal-service-actix/src/websocket.rs +++ b/libsignal-service-actix/src/websocket.rs @@ -105,24 +105,24 @@ where Frame::Continuation(_c) => todo!(), Frame::Ping(msg) => { - tracing::warn!("Received Ping({:?})", msg); + tracing::warn!(?msg, "received Ping"); continue; }, Frame::Pong(msg) => { - tracing::trace!("Received Pong({:?})", msg); + tracing::trace!(?msg, "received Pong"); continue; }, Frame::Text(frame) => { - tracing::warn!("Frame::Text {:?}", frame); + tracing::warn!(?frame, "frame::Text",); // this is a protocol violation, maybe break; is better? continue; }, Frame::Close(c) => { - tracing::warn!("Websocket closing: {:?}", c); + tracing::warn!(?c, "Websocket closing: {:?}"); break; },