summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2015-03-18 11:19:04 +0100
committerAndreas Gohr <gohr@cosmocode.de>2015-03-18 11:19:04 +0100
commit09513545a4776e31b5fb113bd8741df1df878816 (patch)
tree61df3b02c92d2fa5e8f6ed0ef30c6f84396f65b9 /inc/HTTPClient.php
parente82e995afe2ba6bb600f5a7f2ef6effbf9c1b8cd (diff)
downloadrpg-09513545a4776e31b5fb113bd8741df1df878816.tar.gz
rpg-09513545a4776e31b5fb113bd8741df1df878816.tar.bz2
give better error message in HTTPClient for failed crypto setup
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r--inc/HTTPClient.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index 76d973c38..24b3a8d78 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -604,6 +604,8 @@ class HTTPClient {
$requesturl = $requestinfo['path'];
return true;
}
+
+ throw new HTTPClientException('Failed to set up crypto for secure proxy connection', -151);
}
throw new HTTPClientException('Failed to establish secure proxy connection', -150);