summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 0c6d8d3..67977ed 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -169,7 +169,8 @@ class HTTPConnection(object):
self.requests_args = {}
self.request_session = requests.Session()
if self.parsed_url.scheme not in ('http', 'https'):
- raise ClientException("Unsupported scheme")
+ raise ClientException('Unsupported scheme "%s" in url "%s"'
+ % (self.parsed_url.scheme, url))
self.requests_args['verify'] = not insecure
if cacert and not insecure:
# verify requests parameter is used to pass the CA_BUNDLE file