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:
return self._send(data)
except (OSError, TimeoutError):
log.debug("Retrying {}".format(type(data)))
log.warning("Retrying {}".format(type(data)))
continue
else:
return None