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 +?>