diff options
author | arron.woods <arron.woods@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2011-04-11 13:50:06 +0000 |
---|---|---|
committer | arron.woods <arron.woods@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2011-04-11 13:50:06 +0000 |
commit | 306a0590f66f48f9df588667194682982dcdcf4f (patch) | |
tree | 9c9402315e29dfc066c810a82f260ac55c5b7e6c | |
parent | b3d89e951133b0eaf4eaa50b2d4b2a932f080631 (diff) | |
download | php-ssrs-306a0590f66f48f9df588667194682982dcdcf4f.zip php-ssrs-306a0590f66f48f9df588667194682982dcdcf4f.tar.gz php-ssrs-306a0590f66f48f9df588667194682982dcdcf4f.tar.bz2 |
HTTP error codes from SoapClient return response too
-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 bb85037..339f688 100755 --- a/library/SSRS/Soap/NTLM.php +++ b/library/SSRS/Soap/NTLM.php @@ -150,7 +150,7 @@ class SSRS_Soap_NTLM extends SoapClient { $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); if ($httpCode !== 200){ - throw new SSRS_Soap_Exception('HTTP error: ' . $httpCode); + throw new SSRS_Soap_Exception('HTTP error: ' . $httpCode . ' ' . $response, $httpCode); } curl_close($handle); |