]> Sergey Matveev's repositories - public-inbox.git/commit
lei_search: avoid unconditional warning when no exception
authorEric Wong <e@80x24.org>
Mon, 16 Aug 2021 05:39:33 +0000 (05:39 +0000)
committerEric Wong <e@80x24.org>
Mon, 16 Aug 2021 07:11:04 +0000 (07:11 +0000)
commit0a3bcc909a9b023755079ee57f347f33aac75d3e
treee10a63eb7407fa3dc33582d71428ac1d790cb8d1
parentf6479786aacb8780724d50faf771bf5c7f015daf
lei_search: avoid unconditional warning when no exception

Oops, we shouldn't warn on "$@" unless "$@" is truthy.

Fixes: c7bcfe6cd6648ff0 ("lei: diagnostics for /Document \d+ not found/ errors")
lib/PublicInbox/LeiSearch.pm