mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: improve response sending error logging
This commit is contained in:
parent
5cfd270ab7
commit
daab5ab0d5
1 changed files with 2 additions and 2 deletions
|
|
@ -153,14 +153,14 @@ fn send_response(
|
|||
}
|
||||
Ok(_) => Ok(()),
|
||||
Err(err) => {
|
||||
::log::warn!("send_to error: {:#}", err);
|
||||
::log::warn!("Sending response to {} failed: {:#}", addr, err);
|
||||
|
||||
Err(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
Err(err) => {
|
||||
::log::error!("Response::write error: {:?}", err);
|
||||
::log::error!("Converting response to bytes failed: {:#}", err);
|
||||
|
||||
Err(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue