Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Jul 12, 2024
1 parent 278f4a2 commit 835bb7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/send_and_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ impl Miner {
for status in signature_statuses.value {
if let Some(status) = status {
if let Some(err) = status.err {
progress_bar.set_message(format!("Error: {}", err));
progress_bar.finish_with_message(format!(
"{}: {}",
"ERROR".bold().red(),
err
));
return Err(ClientError {
request: None,
kind: ClientErrorKind::Custom(err.to_string()),
Expand Down

0 comments on commit 835bb7f

Please sign in to comment.