]> Sergey Matveev's repositories - public-inbox.git/commit
treewide: use warn() or carp() instead of env->{psgi.errors}
authorEric Wong <e@80x24.org>
Wed, 13 Oct 2021 07:00:36 +0000 (07:00 +0000)
committerEric Wong <e@80x24.org>
Wed, 13 Oct 2021 19:51:20 +0000 (19:51 +0000)
commit96b0a14be7e62742ad06f0a37c3cba61fe6c51e7
tree2b1fcabfb1b23804c0d05424303f589d1d59a0f2
parent6bb8478c8dacf83492de3afe15a615d646f0904f
treewide: use warn() or carp() instead of env->{psgi.errors}

Large chunks of our codebase and 3rd-party dependencies do not
use ->{psgi.errors}, so trying to standardize on it was a
fruitless endeavor.  Since warn() and carp() are standard
mechanism within Perl, just use that instead and simplify a
bunch of existing code.
12 files changed:
lib/PublicInbox/GitHTTPBackend.pm
lib/PublicInbox/GzipFilter.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/LeiBlob.pm
lib/PublicInbox/LeiRediff.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/Qspawn.pm
lib/PublicInbox/SearchView.pm
lib/PublicInbox/Unsubscribe.pm
lib/PublicInbox/ViewVCS.pm
lib/PublicInbox/WwwAltId.pm
lib/PublicInbox/WwwHighlight.pm