Skip to content

Commit

Permalink
fix: print error if deployment start fails (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Jun 28, 2024
1 parent 262f7bf commit fe8f96e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/stacks-network/src/chains_coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ pub async fn start_chains_coordinator(
if let Some(deployment_commands_tx) = deployment_commands_tx.take() {
deployment_commands_tx
.send(DeploymentCommand::Start)
.expect("unable to trigger deployment");
.map_err(|e| format!("unable to start deployment: {}", e))
.unwrap();
}
}
}
Expand Down

0 comments on commit fe8f96e

Please sign in to comment.