mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
response might carry binary data, use repr() in network2 logging
This commit is contained in:
parent
c0acf8239d
commit
2cadfdaae1
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ class Network(object):
|
|||
response = requests.post(uri, data=data, **kwargs)
|
||||
except requests.exceptions.RequestException as error:
|
||||
raise errors.NetworkError(error)
|
||||
logging.debug('Received response %s: %s', response, response.text)
|
||||
logging.debug('Received response %s: %r', response, response.text)
|
||||
|
||||
self._check_response(response, content_type=content_type)
|
||||
return response
|
||||
|
|
|
|||
Loading…
Reference in a new issue