aboutsummaryrefslogtreecommitdiff
path: root/lib/message.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-22 08:19:28 -0300
committerDavid Bremner <david@tethera.net>2020-07-22 19:52:55 -0300
commite9867b818b75216427c7190f67354959dfb914db (patch)
treeedcb2c85a6ca77663debd5933ebe5eb4c6c18f30 /lib/message.cc
parent1a8060b81f2fbba324d4156f4733a7f1deb14d60 (diff)
lib: fix exception messages for n_m_message_*
The original generic handler had an extra '%s' in the format string. Update tests that failed to catch this because the template to print status strings checked 'stat', which was not set.
Diffstat (limited to 'lib/message.cc')
-rw-r--r--lib/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/message.cc b/lib/message.cc
index 87448101..64798413 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -96,7 +96,7 @@ static void
_log_xapian_exception (const char *where, notmuch_message_t *message, const Xapian::Error error) {
notmuch_database_t *notmuch = notmuch_message_get_database (message);
_notmuch_database_log (notmuch,
- "A Xapian exception occurred %s retrieving %s : %s\n",
+ "A Xapian exception occurred at %s: %s\n",
where,
error.get_msg ().c_str ());
notmuch->exception_reported = true;