Add some debugging output to connection

This commit is contained in:
2020-05-10 23:25:41 +01:00
parent baafd12354
commit ad0d95ab40
2 changed files with 37 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ fn run() -> Result<()> {
for msg in msg_r.try_iter().take(10) {
print!("Sending message...");
match c.send(msg) {
Err(e) => println!("error!"),
Err(e) => println!("error! {:?}", e),
_ => println!("OK!"),
}
}