aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src
diff options
context:
space:
mode:
authorCaleb Maclennan <caleb@alerque.com>2024-05-16 03:51:25 +0300
committerGitHub <noreply@github.com>2024-05-16 07:51:25 +0700
commit2e35af1c86dc3ddb02dbababf909c7f5248368c3 (patch)
tree4ba4372e33baf168cbf857f6d0b95b000927af8e /crates/atuin-client/src
parentfeat(ui): add history explore (#2022) (diff)
downloadatuin-2e35af1c86dc3ddb02dbababf909c7f5248368c3.zip
fix: bogus error message wording (#1283)
Diffstat (limited to 'crates/atuin-client/src')
-rw-r--r--crates/atuin-client/src/encryption.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin-client/src/encryption.rs b/crates/atuin-client/src/encryption.rs
index 50aacc24..02e5e3fb 100644
--- a/crates/atuin-client/src/encryption.rs
+++ b/crates/atuin-client/src/encryption.rs
@@ -140,7 +140,7 @@ pub fn decrypt(mut encrypted_history: EncryptedHistory, key: &Key) -> Result<His
&[],
&mut encrypted_history.ciphertext,
)
- .map_err(|_| eyre!("could not encrypt"))?;
+ .map_err(|_| eyre!("could not decrypt history"))?;
let plaintext = encrypted_history.ciphertext;
let history = decode(&plaintext)?;