print out sent packets
This commit is contained in:
parent
6b9a45fb70
commit
b42deeede1
@ -205,6 +205,7 @@ where
|
||||
loop {
|
||||
match packet_queue.recv().await {
|
||||
Ok(pkt) => {
|
||||
info!("[send to {:?}] {:#?}", client_id, pkt);
|
||||
if let Err(err) = send_pkt(&mut socket, &mut cipher, &pkt).await {
|
||||
warn!("error sending pkt {:#?} to {:?} {:?}", pkt, client_id, err);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user