Skip to content

Commit

Permalink
Fix misleading error message
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Mar 12, 2024
1 parent 1f5d0e8 commit 2dd5102
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions notmuch-more/src/smtp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2dd5102

Please sign in to comment.