]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
lei ls-mail-source: propagate errors to caller
authorEric Wong <e@80x24.org>
Thu, 27 Mar 2025 23:20:47 +0000 (23:20 +0000)
committerEric Wong <e@80x24.org>
Sun, 30 Mar 2025 18:19:33 +0000 (18:19 +0000)
commit0c0d4f078b3e699946c35daf61e3ceb45c44649b
treeb17f5d4554910c3305fee5a21c1986430dca3517
parent5f6a55088d76f94987116cad6c355e86b553e68f
lei ls-mail-source: propagate errors to caller

LeiInput already handles exceptions via `die', so just die
rather than using lei->err() to report to stderr without
affecting the exit code.

I noticed this problem while making some changes to our NNTP
implementation.
lib/PublicInbox/LeiLsMailSource.pm