From 86d3a5199e2926f3c2a9d24abab56add6eea8d0a Mon Sep 17 00:00:00 2001 From: Emanuele Sorce Date: Tue, 18 Oct 2022 09:40:42 +0200 Subject: [PATCH] Fix typo in CommonAPIHandler.php Variable $ex is undefined. Probably you meant $e --- src/com/zoho/crm/api/util/CommonAPIHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/zoho/crm/api/util/CommonAPIHandler.php b/src/com/zoho/crm/api/util/CommonAPIHandler.php index 234f179..cdd81c0 100755 --- a/src/com/zoho/crm/api/util/CommonAPIHandler.php +++ b/src/com/zoho/crm/api/util/CommonAPIHandler.php @@ -227,7 +227,7 @@ public function apiCall($className, $encodeType) } catch(SDKException $e) { - SDKLogger::severeError(Constants::SET_API_URL_EXCEPTION, $ex); + SDKLogger::severeError(Constants::SET_API_URL_EXCEPTION, $e); throw $e; } @@ -523,4 +523,4 @@ public function setCategoryMethod($category) $this->categoryMethod = $category; } } -?> \ No newline at end of file +?>