From: Eric Wong Date: Wed, 15 Nov 2023 04:32:37 +0000 (+0000) Subject: gcf2client: add alias for PublicInbox::Git::fail X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e618c7654794d58b299cc4928065c6a036f9d869;p=thirdparty%2Fpublic-inbox.git gcf2client: add alias for PublicInbox::Git::fail Ensure we can ->fail properly from other subs we can within Gcf2Client. This doesn't fix the test failures on CentOS 7.x, but tries to make it easier to fix underlying problems and report OOM errors and other things which the test suite doesn't touch on. --- diff --git a/lib/PublicInbox/Gcf2Client.pm b/lib/PublicInbox/Gcf2Client.pm index 5220c4744..48d8c5acb 100644 --- a/lib/PublicInbox/Gcf2Client.pm +++ b/lib/PublicInbox/Gcf2Client.pm @@ -52,6 +52,7 @@ no warnings 'once'; *cat_async_step = \&PublicInbox::Git::cat_async_step; # for event_step *event_step = \&PublicInbox::Git::event_step; +*fail = \&PublicInbox::Git::fail; *DESTROY = \&PublicInbox::Git::DESTROY; 1;