]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: die on Xapian load errors
authorEric Wong <e@80x24.org>
Sun, 8 Aug 2021 01:14:17 +0000 (01:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 8 Aug 2021 01:17:26 +0000 (01:17 +0000)
commitc951a8ee25edd8489ce127acd8b2caf54e6dad6f
treed1736b0ee8c6b705529e055b1d90e52ffde89fb6
parent6bcc4f94adad46240da102c3e36a2b6df8e7ce38
searchidx: die on Xapian load errors

Xapian bindings may not be installed or be out-of-date w.r.t. the
Perl version, improve the visibility of errors in those cases.
Cleanup and drop some redundant checks while we're at it.

Cc: "Toke Høiland-Jørgensen" <toke@toke.dk>
Link: https://public-inbox.org/meta/87k0ky5mbd.fsf@toke.dk/
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/Xapcmd.pm