* xapian errors and notmuch return codes
@ 2010-01-19 8:55 Sebastian Spaeth
0 siblings, 0 replies; only message in thread
From: Sebastian Spaeth @ 2010-01-19 8:55 UTC (permalink / raw)
To: notmuch
When I perform a "notmuch search" while notmuch is updating tags in a
different shell, I get:
"A Xapian exception occurred performing query: The revision being read
has been discarded - you should call Xapian::Database::reopen() and
retry the operation"
but the notmuch return code is still "0" (indicating success?!).
It would be great to have a return code reflect the validity of returned
results, especially when the main means of interacting are piping from
the notmuch app at the moment.
Also, could the "man" page indicate which return codes notmuch delivers
in which cases? I would find that pretty helpful.
Sorry for not delivering patches, but I think there was a patch for
return codes on the list recently.
Sebastian
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-19 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 8:55 xapian errors and notmuch return codes Sebastian Spaeth
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).