Skip to content

Commit

Permalink
Do not print out "Error encountered"
Browse files Browse the repository at this point in the history
The error will print out its own description of itself as an error, so
this extra error text is redundant.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jan 3, 2025
1 parent 4b009f2 commit f565c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/stratisd-tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn main() {
match c.run(stripped_args) {
Ok(()) => {}
Err(e) => {
eprintln!("Error encountered: {e}");
eprintln!("{e}");
process::exit(1);
}
}
Expand Down

0 comments on commit f565c58

Please sign in to comment.