Skip to content

Commit

Permalink
Some more variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jan 8, 2024
1 parent c0319e2 commit 698c80a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libsignal-service-actix/src/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {:?}");

Check failure on line 125 in libsignal-service-actix/src/websocket.rs

View workflow job for this annotation

GitHub Actions / Build (libsignal-service-actix, Rust stable)

1 positional argument in format string, but no arguments were given

Check failure on line 125 in libsignal-service-actix/src/websocket.rs

View workflow job for this annotation

GitHub Actions / Build (libsignal-service-actix, Rust beta)

1 positional argument in format string, but no arguments were given

Check failure on line 125 in libsignal-service-actix/src/websocket.rs

View workflow job for this annotation

GitHub Actions / Build (libsignal-service-actix, Rust nightly)

1 positional argument in format string, but no arguments were given

Check failure on line 125 in libsignal-service-actix/src/websocket.rs

View workflow job for this annotation

GitHub Actions / Build (libsignal-service-actix, Rust 1.70)

1 positional argument in format string, but no arguments were given

break;
},
Expand Down

0 comments on commit 698c80a

Please sign in to comment.