]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
searchidx: use warn for excessively long terms
authorEric Wong <e@80x24.org>
Sat, 13 Sep 2025 12:21:50 +0000 (12:21 +0000)
committerEric Wong <e@80x24.org>
Sat, 13 Sep 2025 19:26:30 +0000 (19:26 +0000)
commit4efbd982d30811a3e35d72dd70e40c27ccdd8595
tree3b95ff28ab54e365266e10ba69a63a00e0ebaaba
parent8a0765262c5bde9b8343b14e7c7fdbf8cf8c94fe
searchidx: use warn for excessively long terms

Filename and linenumber context information from Carp::carp is
unlikely to be useful here on (likely) worthless data from bad
MUAs.  carp adds needless noise for users tracking down actual
code bugs with PERL5OPT=-MCarp=verbose, which changes Carp::carp
into Carp::cluck.
lib/PublicInbox/SearchIdx.pm