diff --git a/lib/rapi/client.py b/lib/rapi/client.py index dccbf95a7bf91afd6155931ff1100efb6b634394..ce1ba11469fd22d0ed5927bb703dbb92bde60c2c 100644 --- a/lib/rapi/client.py +++ b/lib/rapi/client.py @@ -403,7 +403,7 @@ class GanetiRapiClient(object): resp = self._http.open(req) encoded_response_content = resp.read() 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)