From 4d01eba23ffd73e22544770511b177b1f9cbeba0 Mon Sep 17 00:00:00 2001 From: Christopher York Date: Sun, 26 May 2013 21:42:28 -0500 Subject: [PATCH] WHMCS no longer errors due to syntax error --- .../modules/servers/websitepanel/websitepanel.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.class.php b/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.class.php index cde28ae6..0187c5ed 100644 --- a/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.class.php +++ b/WebsitePanel.WHMCSModule/modules/servers/websitepanel/websitepanel.class.php @@ -418,7 +418,7 @@ class WebsitePanel $esUrl = (($this->_esUseSsl ? "https" : "http") . "://{$this->_esServerUrl}:{$this->_esServerPort}/{$serviceFile}?WSDL"); $soapParams = array('login' => $this->_esUsername, 'password' => $this->_esPassword, - 'cache_wsdl' => WSDL_CACHE_NONE, // WSDL caching is an annoying nightmare - we will disable it + 'cache_wsdl' => WSDL_CACHE_NONE // WSDL caching is an annoying nightmare - we will disable it ); try { @@ -432,7 +432,7 @@ class WebsitePanel } catch (Exception $e) { - throw; + throw new Exception($e->getMessage()); } } } \ No newline at end of file