diff options
author | Eric Wong <e@80x24.org> | 2021-10-23 19:08:41 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-23 21:53:53 +0000 |
commit | b96c0ee9230b07b89e65b7fe14f67554aa20f685 (patch) | |
tree | e797cf42e536bd3d53505db601221740f4401c37 /lib | |
parent | 0e22868f2c5ad03193ae077d17fdad64b51fdac2 (diff) | |
download | public-inbox-b96c0ee9230b07b89e65b7fe14f67554aa20f685.tar.gz |
Indexing any inboxes requires SQLite and msgmap, so don't hide exceptions if it fails.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/SearchIdx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index 585f28f5..b886ce78 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -451,7 +451,7 @@ sub add_xapian ($$$$) { sub _msgmap_init ($) { my ($self) = @_; die "BUG: _msgmap_init is only for v1\n" if $self->{ibx}->version != 1; - $self->{mm} //= eval { + $self->{mm} //= do { require PublicInbox::Msgmap; PublicInbox::Msgmap->new_file($self->{ibx}, 1); }; |