forked from DGNum/colmena
deployment.rs: There is nothing "internal" now about the error after the refactor
This commit is contained in:
parent
d99089ad6b
commit
c60d63e053
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue