mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-21 17:06:36 +03:00
Retry on TimedOutError (#4255)
This commit is contained in:
parent
ddc9bef503
commit
cf3bc71e1d
|
@ -89,6 +89,7 @@ class UserMethods:
|
|||
return result
|
||||
except (errors.ServerError, errors.RpcCallFailError,
|
||||
errors.RpcMcgetFailError, errors.InterdcCallErrorError,
|
||||
errors.TimedOutError,
|
||||
errors.InterdcCallRichErrorError) as e:
|
||||
last_error = e
|
||||
self._log[__name__].warning(
|
||||
|
|
Loading…
Reference in New Issue
Block a user