style: Remove Unnecessary log in tcp.rs
This commit is contained in:
1 parent
14198e7586
commit
bb45a621a4
1 file changed
-2
@@ -191,9 +191,7 @@ impl FramedStream {
|
|||||||
#[inline]
|
#[inline]
|
||||||
pub async fn send_raw(&mut self, msg: Vec<u8>) -> ResultType<()> {
|
pub async fn send_raw(&mut self, msg: Vec<u8>) -> ResultType<()> {
|
||||||
let mut msg = msg;
|
let mut msg = msg;
|
||||||
log::debug!("Send message: {:?}", msg);
|
|
||||||
if let Some(key) = self.2.as_mut() {
|
if let Some(key) = self.2.as_mut() {
|
||||||
log::debug!("Encrypting message");
|
|
||||||
msg = key.enc(&msg);
|
msg = key.enc(&msg);
|
||||||
}
|
}
|
||||||
self.send_bytes(bytes::Bytes::from(msg)).await?;
|
self.send_bytes(bytes::Bytes::from(msg)).await?;
|
||||||
|
|||||||
Reference in new issue
Block a user