Warn if retrying

This commit is contained in:
Dan 2017-12-11 10:34:14 +01:00
parent 889611ccd0
commit 33263e9ce6

View File

@ -424,7 +424,7 @@ class Session:
try: try:
return self._send(data) return self._send(data)
except (OSError, TimeoutError): except (OSError, TimeoutError):
log.debug("Retrying {}".format(type(data))) log.warning("Retrying {}".format(type(data)))
continue continue
else: else:
return None return None