Commit 857705e8 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

RAPI client: Improve SSL error reporting

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarGuido Trotter <>
parent 1068639f
......@@ -403,7 +403,7 @@ class GanetiRapiClient(object):
resp =
encoded_response_content =
except (OpenSSL.SSL.Error, OpenSSL.crypto.Error), err:
raise CertificateError("SSL issue: %s" % err)
raise CertificateError("SSL issue: %r" % err)
if encoded_response_content:
response_content = simplejson.loads(encoded_response_content)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment