]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: Don't drop error messages from "notmuch search"
[notmuch] / emacs / notmuch.el
index dbf269a572755f7b02f19cd090c7c296881057e0..d9a6b67a6ba8c595e94bc297cfb292e9f73f3753 100644 (file)
@@ -580,6 +580,8 @@ This function advances the next thread when finished."
                      (insert "Incomplete search results (search process was killed).\n"))
                  (if (eq status 'exit)
                      (progn
+                       (if notmuch-search-process-filter-data
+                           (insert (concat "Error: Unexpected output from notmuch search:\n" notmuch-search-process-filter-data)))
                        (insert "End of search results.")
                        (if (not (= exit-status 0))
                            (insert (format " (process returned %d)" exit-status)))