Skip to content

Commit

Permalink
Merge pull request #2229 from mazzi/chore_error_messages_more_detail
Browse files Browse the repository at this point in the history
chore(launchpad): more detail on error messages when scaling nodes
  • Loading branch information
RolandSherwin authored Oct 14, 2024
2 parents ae32c84 + 2cf6fe0 commit 1155e0b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions node-launchpad/src/node_mgmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ async fn add_nodes(
{
if let Err(err) = action_sender.send(Action::StatusActions(
StatusActions::ErrorScalingUpNodes {
raw_error: "When trying to add a node, we failed.\n\n\
Maybe you ran out of disk space?\n\n\
Maybe you need to change the port range?\n\n"
raw_error: "When trying to add a node, we failed.\n\
Maybe you ran out of disk space?\n\
Maybe you need to change the port range?"
.to_string(),
},
)) {
Expand All @@ -432,7 +432,9 @@ async fn add_nodes(
if let Err(err) =
action_sender.send(Action::StatusActions(StatusActions::ErrorScalingUpNodes {
raw_error: format!(
"When trying run a node, we reached the maximum amount of retries ({}).",
"When trying run a node, we reached the maximum amount of retries ({}).\n\
Could this be a firewall blocking nodes starting?\n\
Or ports on your router already in use?",
NODE_ADD_MAX_RETRIES
),
}))
Expand Down

0 comments on commit 1155e0b

Please sign in to comment.