about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-15 04:32:37 +0000
committerEric Wong <e@80x24.org>2023-11-15 08:02:55 +0000
commite618c7654794d58b299cc4928065c6a036f9d869 (patch)
treee8ba9734f2b91e67506854965505fa0debb3e866 /lib/PublicInbox
parentbe47d4e60203f2861ade6e2a449bcdbe198c0d36 (diff)
downloadpublic-inbox-e618c7654794d58b299cc4928065c6a036f9d869.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/Gcf2Client.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Gcf2Client.pm b/lib/PublicInbox/Gcf2Client.pm
index 5220c474..48d8c5ac 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;