mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Break on recv/send errors
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user