Skip to content

Commit

Permalink
refactor: reuse spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Dec 19, 2024
1 parent cc84982 commit 863ab92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/pop-cli/src/commands/up/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &para_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.");
Expand Down

0 comments on commit 863ab92

Please sign in to comment.