unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* libnotmuch should catch QueryParserError seperately.
@ 2018-03-17 13:58 David Bremner
  0 siblings, 0 replies; only message in thread
From: David Bremner @ 2018-03-17 13:58 UTC (permalink / raw)
  To: notmuch

Today I observed the following

% notmuch search crash+date:@1505185200..@1521169200000
notmuch search: A Xapian exception occurred
A Xapian exception occurred parsing query: Unknown range operation
Query string was: crash+date:@1505185200..@1521169200000

This is roughly OK for a command line user, but contains very little
information for bindings users; I originally found this string
attempting to debug nmweb.

I _think_ it should be possible to catch the more specific error
here. Since this is an error that is generated by user input, it seems
worthwhile trying to do a better job.

d

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-17 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-17 13:58 libnotmuch should catch QueryParserError seperately David Bremner

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).