]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: rely on $SIG{__WARN__} for error output
authorEric Wong <e@80x24.org>
Wed, 10 Aug 2022 15:58:01 +0000 (15:58 +0000)
committerEric Wong <e@80x24.org>
Wed, 10 Aug 2022 20:11:10 +0000 (20:11 +0000)
commit69a839362deecd86771f306f20ff993f9c9c07c1
treeafa97ae342b24844e8702d17596f1109445df3c4
parent1c457e08d2bb3352bdddde0a3580ff37f317cc72
daemon: rely on $SIG{__WARN__} for error output

warn/carp usage is unavoidable given Perl itself and standard
libraries, so just rely on localized $SIG{__WARN__} from
60d262483a4d6ddf (daemon: use per-listener SIG{__WARN__} callbacks, 2022-08-08)
for all error reporting.

While we're in the area, make some of the error handling more
consistent between IMAP/NNTP/POP3.
lib/PublicInbox/DS.pm
lib/PublicInbox/DSdeflate.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/POP3.pm