summaryrefslogtreecommitdiff
path: root/melib/src/backends/notmuch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'melib/src/backends/notmuch.rs')
-rw-r--r--melib/src/backends/notmuch.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/melib/src/backends/notmuch.rs b/melib/src/backends/notmuch.rs
index 81d98e62..5fc2331e 100644
--- a/melib/src/backends/notmuch.rs
+++ b/melib/src/backends/notmuch.rs
@@ -903,8 +903,11 @@ impl MailBackend for NotmuchDb {
s.push(' ');
s
} else {
- return Err(MeliError::new("Mailbox with hash {} not found!")
- .set_kind(crate::error::ErrorKind::Bug));
+ return Err(MeliError::new(format!(
+ "Mailbox with hash {} not found!",
+ mailbox_hash
+ ))
+ .set_kind(crate::error::ErrorKind::Bug));
}
} else {
String::new()