]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
search: async_mset: always run callback on exceptions
authorEric Wong <e@80x24.org>
Tue, 11 Feb 2025 03:55:34 +0000 (03:55 +0000)
committerEric Wong <e@80x24.org>
Tue, 11 Feb 2025 19:08:15 +0000 (19:08 +0000)
commit5ecee3d2a058a47a6e16e217a266ecd2a3258e37
tree83e01bcaf50f8972b90816c958f523ffb99c7534
parentc0456ca8c644b47766a6ecbde5346f91934fbf8b
search: async_mset: always run callback on exceptions

To produce consistent error behavior, ensure we always run
the user-supplied callback on exceptions when using in-process
Xapian (as opposed to the external xap_helper process).
lib/PublicInbox/Search.pm