diff options
Diffstat (limited to 'atuin-client/src/history/store.rs')
-rw-r--r-- | atuin-client/src/history/store.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/atuin-client/src/history/store.rs b/atuin-client/src/history/store.rs index 0a2a23123..c09c75736 100644 --- a/atuin-client/src/history/store.rs +++ b/atuin-client/src/history/store.rs @@ -164,15 +164,7 @@ impl HistoryStore { for record in records.into_iter() { let hist = match record.version.as_str() { HISTORY_VERSION => { - let decrypted = record.decrypt::<PASETO_V4>(&self.encryption_key); - - let decrypted = match decrypted { - Ok(d) => d, - Err(e) => { - println!("failed to decrypt history: {e}"); - continue; - } - }; + let decrypted = record.decrypt::<PASETO_V4>(&self.encryption_key)?; HistoryRecord::deserialize(&decrypted.data, HISTORY_VERSION) } |