Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/cli/src/commands/run_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl CliConfiguration for RunCmd {
Error::Input(format!(
"Invalid node name '{}'. Reason: {}. If unsure, use none.",
name, msg
));
))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
))
))

@bkchr What was wrong? It corresponds to Error::Input(format!( 😲

})?;

Ok(name)
Expand Down
1 change: 1 addition & 0 deletions client/cli/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub enum Error {
Input(String),
/// Invalid listen multiaddress
#[display(fmt="Invalid listen multiaddress")]
#[from(ignore)]
InvalidListenMultiaddress,
/// Other uncategorized error.
#[from(ignore)]
Expand Down