From 23ec1a6861e90179f560a68463478e10a7bf6a5e Mon Sep 17 00:00:00 2001 From: Frank Bell Date: Thu, 19 Dec 2024 08:25:52 +0000 Subject: [PATCH] refactor: reuse spinner --- crates/pop-cli/src/commands/up/parachain.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/pop-cli/src/commands/up/parachain.rs b/crates/pop-cli/src/commands/up/parachain.rs index dba230e9..94f2a347 100644 --- a/crates/pop-cli/src/commands/up/parachain.rs +++ b/crates/pop-cli/src/commands/up/parachain.rs @@ -166,8 +166,7 @@ impl ZombienetCommand { network.parachains().iter().map(|p| p.para_id()).collect(); tokio::spawn(async move { if let Err(e) = clear_dmpq(relay_endpoint, ¶_ids).await { - progress.stop(""); - log::error(format!("🚫 Could not prepare channels: {e}"))?; + progress.stop(format!("🚫 Could not prepare channels: {e}"))?; return Ok::<(), Error>(()); } progress.stop("Channels successfully prepared for initialization.");