diff --git a/CHANGELOG.md b/CHANGELOG.md index 8676466..eb9350e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Update unclear error message [#235] + ### Removed - Remove `stake_allow` command @@ -472,6 +476,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Implementation of `Store` trait from `wallet-core` - Implementation of `State` and `Prover` traits from `wallet-core` +[#235]: https://github.com/dusk-network/wallet-cli/issues/235 [#231]: https://github.com/dusk-network/wallet-cli/issues/231 [#226]: https://github.com/dusk-network/wallet-cli/issues/226 [#222]: https://github.com/dusk-network/wallet-cli/issues/222 diff --git a/src/bin/main.rs b/src/bin/main.rs index ba0f21e..7ddb9ca 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -84,7 +84,7 @@ where // check for connection errors match con { Err(Error::RocksDB(e)) => panic!{"Invalid cache {e}"}, - Err(e) => warn!("Connection to Rusk Failed, some operations won't be available: {e}"), + Err(e) => warn!("[OFFLINE MODE]: Unable to connect to Rusk, limited functionality available: {e}"), _ => {} } diff --git a/src/error.rs b/src/error.rs index 3ee3830..ba1a892 100644 --- a/src/error.rs +++ b/src/error.rs @@ -102,7 +102,7 @@ pub enum Error { #[error("Wallet file is missing")] WalletFileMissing, /// Wrong wallet password - #[error("Block Mode Error")] + #[error("Invalid password")] BlockMode(#[from] block_modes::BlockModeError), /// Reached the maximum number of attempts #[error("Reached the maximum number of attempts")]