mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Warn if retrying
This commit is contained in:
parent
889611ccd0
commit
33263e9ce6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user