From 2dd51028d8b7217891566ee21bfc876ef19a72db Mon Sep 17 00:00:00 2001 From: Oliver Ford Date: Tue, 12 Mar 2024 21:21:42 +0000 Subject: [PATCH] Fix misleading error message --- notmuch-more/src/smtp.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notmuch-more/src/smtp.rs b/notmuch-more/src/smtp.rs index e7d71d0..2c7f043 100644 --- a/notmuch-more/src/smtp.rs +++ b/notmuch-more/src/smtp.rs @@ -64,9 +64,7 @@ impl Smtp { println!("[TRACE] Message reindexed"); Ok(()) } - _ => Err(NotmuchMoreError::Other(anyhow!( - "Error renaming sent message" - ))), + _ => Err(NotmuchMoreError::Other(anyhow!("Failed to reindex"))), } } Err(e) => match e.file.keep() {