From e618c7654794d58b299cc4928065c6a036f9d869 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 Nov 2023 04:32:37 +0000 Subject: 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. --- lib/PublicInbox/Gcf2Client.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/PublicInbox') 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; -- cgit v1.2.3-24-ge0c7