mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Report errors as alerts
This commit is contained in:
@@ -332,6 +332,10 @@ impl FileTransferActivity {
|
||||
LogLevel::Error,
|
||||
format!("Could not get current remote path: {}", err).as_ref(),
|
||||
);
|
||||
self.input_mode = InputMode::Popup(PopupType::Alert(
|
||||
Color::Red,
|
||||
format!("Could not get current remote path: {}", err),
|
||||
));
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user