]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
gcf2client: add alias for PublicInbox::Git::fail
authorEric Wong <e@80x24.org>
Wed, 15 Nov 2023 04:32:37 +0000 (04:32 +0000)
committerEric Wong <e@80x24.org>
Wed, 15 Nov 2023 08:02:55 +0000 (08:02 +0000)
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.

lib/PublicInbox/Gcf2Client.pm

index 5220c474423d0b2087cabc49d53c19547b075dcc..48d8c5acb7dc0d09cd0ca05a4abc73624b42efad 100644 (file)
@@ -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;