From 591f901241623fbc50b67dbcff88c68cb33c53fd Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 22 Nov 2009 03:41:30 +0100 Subject: Print information about where Xapian exception occurred. Previously, our Xapian exception reports where identical so they were hard to track down. --- lib/query.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/query.cc') diff --git a/lib/query.cc b/lib/query.cc index ea521dd8..4a686832 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -149,7 +149,7 @@ notmuch_query_search_messages (notmuch_query_t *query, } } catch (const Xapian::Error &error) { - fprintf (stderr, "A Xapian exception occurred: %s\n", + fprintf (stderr, "A Xapian exception occurred performing query: %s\n", error.get_msg().c_str()); fprintf (stderr, "Query string was: %s\n", query->query_string); } -- cgit v1.2.3