diff options
author | Arron Woods <aw@chartblocks.com> | 2015-04-10 17:38:51 +0100 |
---|---|---|
committer | Arron Woods <aw@chartblocks.com> | 2015-04-10 17:38:51 +0100 |
commit | 8a07ff8f6636a5a6f8deb6b5b048dcee14870d7f (patch) | |
tree | e610b28196672b2934911165fa38a80e22720f3f | |
parent | 7335afb742d3a02710e3a8bfa5b78324f7837f39 (diff) | |
download | php-ssrs-8a07ff8f6636a5a6f8deb6b5b048dcee14870d7f.zip php-ssrs-8a07ff8f6636a5a6f8deb6b5b048dcee14870d7f.tar.gz php-ssrs-8a07ff8f6636a5a6f8deb6b5b048dcee14870d7f.tar.bz2 |
Correct exception for curl errors1.0.7
-rwxr-xr-x | library/SSRS/Soap/NTLM.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/SSRS/Soap/NTLM.php b/library/SSRS/Soap/NTLM.php index d0d6b31..73e6a67 100755 --- a/library/SSRS/Soap/NTLM.php +++ b/library/SSRS/Soap/NTLM.php @@ -142,7 +142,7 @@ class NTLM extends \SoapClient { $response = curl_exec($handle); if ($response === false) { - throw new SSRS_Soap_Exception('CURL error: ' . curl_error($handle), curl_errno($handle)); + throw new \SSRS\Soap\Exception('CURL error: ' . curl_error($handle), curl_errno($handle)); } $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); |