Break on recv/send errors

This commit is contained in:
ChristianVisintin
2020-12-10 11:52:00 +01:00
parent 843c5ab6d0
commit 53249c8bc5

View File

@@ -206,7 +206,7 @@ impl FileTransferActivity {
Color::Red, Color::Red,
format!("Could not read local file: {}", err), format!("Could not read local file: {}", err),
)); ));
break break;
} }
} }
// Increase progress // Increase progress
@@ -444,7 +444,7 @@ impl FileTransferActivity {
err err
), ),
)); ));
break break;
} }
} }
} }
@@ -460,7 +460,7 @@ impl FileTransferActivity {
Color::Red, Color::Red,
format!("Could not read remote file: {}", err), format!("Could not read remote file: {}", err),
)); ));
break break;
} }
} }
// Set progress // Set progress