mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
Add a missing print after catching an exception.
Without this, trying to debug this exception was *really* confusing.
This commit is contained in:
parent
591f901241
commit
717279fbcf
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,8 @@ _notmuch_message_create_for_message_id (notmuch_database_t *notmuch,
|
|||
|
||||
doc_id = db->add_document (doc);
|
||||
} catch (const Xapian::Error &error) {
|
||||
fprintf (stderr, "A Xapian exception occurred creating message: %s\n",
|
||||
error.get_msg().c_str());
|
||||
*status_ret = NOTMUCH_PRIVATE_STATUS_XAPIAN_EXCEPTION;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue