deployment.rs: There is nothing "internal" now about the error after the refactor

This commit is contained in:
Zhaofeng Li 2020-12-20 00:58:51 -08:00
parent d99089ad6b
commit c60d63e053

View file

@ -80,9 +80,8 @@ pub async fn deploy(tasks: Vec<DeploymentTask>, max_parallelism: Option<usize>,
result_list.push((task, true)); result_list.push((task, true));
}, },
Err(e) => { Err(e) => {
println!("An error occurred while pushing to {}: {:?}", task.name(), e);
bar.set_style(failing_spinner_style.clone()); bar.set_style(failing_spinner_style.clone());
bar.abandon_with_message("Internal error"); bar.abandon_with_message("Failed");
let mut result_list = result_list.lock().await; let mut result_list = result_list.lock().await;
result_list.push((task, false)); result_list.push((task, false));