aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query.cc')
-rw-r--r--lib/query.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/query.cc b/lib/query.cc
index 75f22b30..ea521dd8 100644
--- a/lib/query.cc
+++ b/lib/query.cc
@@ -151,6 +151,7 @@ notmuch_query_search_messages (notmuch_query_t *query,
} catch (const Xapian::Error &error) {
fprintf (stderr, "A Xapian exception occurred: %s\n",
error.get_msg().c_str());
+ fprintf (stderr, "Query string was: %s\n", query->query_string);
}
return _notmuch_messages_create (message_list);