print out sent packets

This commit is contained in:
jake 2022-10-19 17:26:18 -06:00
parent 6b9a45fb70
commit b42deeede1

View File

@ -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);
}