lib/PublicInbox/LeiXSearch.pm | 2 +- diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 3414e87dd41ec917021bd017f96efeda1cb39b0a..393f25bf8f3fa182f0c9a27bcf3375c20fb49be5 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -32,7 +32,7 @@ sub attach_external { my ($self, $ibxish) = @_; # ibxish = ExtSearch or Inbox my $desc = $ibxish->{inboxdir} // $ibxish->{topdir}; my $srch = $ibxish->search or - return warn("$desc not indexed for Xapian\n"); + return warn("$desc not indexed for Xapian ($@ $!)\n"); my @shards = $srch->xdb_shards_flat or return warn("$desc has no Xapian shards\n");