diff --git a/crates/cast/src/cmd/wallet/list.rs b/crates/cast/src/cmd/wallet/list.rs index d8c297adf53cc..bc0885067bde8 100644 --- a/crates/cast/src/cmd/wallet/list.rs +++ b/crates/cast/src/cmd/wallet/list.rs @@ -54,7 +54,14 @@ impl ListArgs { || self.all || (!self.ledger && !self.trezor && !self.aws && !self.gcp) { - let _ = self.list_local_senders(); + match self.list_local_senders() { + Ok(()) => {} + Err(e) => { + if !self.all { + sh_err!("{}", e)?; + } + } + } } // Create options for multi wallet - ledger, trezor and AWS