X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fquery.cc;h=ea521dd822faac03719be787d4bd82f708ca2f77;hp=75f22b30f145b7ad148c7d77a9d925e215a37b83;hb=59c241ebd0e05abb38e1feb510116b4b97b2baa6;hpb=e5da2b701fc172d2255f205414f18c40f4343fbb 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);