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(+)

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;

Reply via email to