aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/query.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-22 03:41:30 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-22 03:51:35 +0100
commit591f901241623fbc50b67dbcff88c68cb33c53fd (patch)
tree10b86c18a4eed7671b87ccb55e5ed72c82f6808f /lib/query.cc
parent6c7ec294bbe5ae4c3e1498b5061103f08076e016 (diff)
Print information about where Xapian exception occurred.
Previously, our Xapian exception reports where identical so they were hard to track down.
Diffstat (limited to 'lib/query.cc')
-rw-r--r--lib/query.cc2
1 files changed, 1 insertions, 1 deletions
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);
}