master
Bel LaPointe 2023-03-23 16:42:27 -06:00
parent 53f49f9a0b
commit 4e8ad1d5f4
1 changed files with 6 additions and 1 deletions

View File

@ -311,7 +311,12 @@ impl OutputStream for OutputStreamUDP {
let result = self.last_socket.as_ref().unwrap().send(&v.iter().cloned().collect::<String>().as_bytes());
if result.is_err() {
eprintln!("OutputStreamUDP: failed to send: {:?}", result.err());
eprintln!(
"OutputStreamUDP: failed to send to {}:{}: {:?}",
self.host.to_string(),
self.port.to_string(),
result.err(),
);
self.last_socket = None;
}
}