cli/new: improve error reporting
authorDavid Bremner <david@tethera.net>
Sat, 15 Jul 2017 02:01:26 +0000 (23:01 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 17 Aug 2017 00:38:54 +0000 (21:38 -0300)
commit1307868f1e885fe5791a7c63ba33329eef405a80
tree5f0cb925bf3bf9d1fa5c8cf0c15c2cc041393668
parent84ae74aada7d4a4574c09a81c9bddcc947d834b1
cli/new: improve error reporting

Recently a user reported a crash in notmuch new, but because of
missing error reporting, all they could say was "A Xapian exception
occured". This commit adds the extra information available about
the error message in the exception.
notmuch-new.c