From cf16d611242240e6eced5e00f6e9786f2d14bea8 Mon Sep 17 00:00:00 2001 From: Daniel Beitler Date: Thu, 10 Dec 2020 16:10:42 -0800 Subject: [PATCH] Correct reference to FBEHelper in BatchAPI Exception Handler (#2) Summary: This corrects an "Undefined Property" error in the exception handler. Pull Request resolved: https://github.com/facebookincubator/facebook-for-magento2/pull/2 Reviewed By: zlik Differential Revision: D25455026 Pulled By: xiangminxufsu fbshipit-source-id: cb3d3f76 --- .../BusinessExtension/Model/Product/Feed/Method/BatchApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facebook/BusinessExtension/Model/Product/Feed/Method/BatchApi.php b/Facebook/BusinessExtension/Model/Product/Feed/Method/BatchApi.php index 665a64e..42f0252 100644 --- a/Facebook/BusinessExtension/Model/Product/Feed/Method/BatchApi.php +++ b/Facebook/BusinessExtension/Model/Product/Feed/Method/BatchApi.php @@ -98,7 +98,7 @@ public function generateProductRequestData($accessToken = null) $exceptions++; // Don't overload the logs, log the first 3 exceptions if ($exceptions <= 3) { - $this->_fbeHelper->logException($e); + $this->fbeHelper->logException($e); } // If it looks like a systemic failure : stop feed generation if ($exceptions > 100) {