Skip to content
Snippets Groups Projects
Commit 39c3d1c0 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Fix an extra semi-colon yielding a wrong error (#6520)


* Fix an extra semi-colon yielding a wrong error

* Update client/cli/src/commands/run_cmd.rs

Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
parent f6ebd5f8
No related merge requests found
......@@ -325,7 +325,7 @@ impl CliConfiguration for RunCmd {
Error::Input(format!(
"Invalid node name '{}'. Reason: {}. If unsure, use none.",
name, msg
));
))
})?;
Ok(name)
......
......@@ -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)]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment