diff --git a/recorder/destination/telegram.py b/recorder/destination/telegram.py index 705fa13..979b753 100644 --- a/recorder/destination/telegram.py +++ b/recorder/destination/telegram.py @@ -31,7 +31,7 @@ def progress(current, total, pbar, action=None): reraise=True, retry=tenacity.retry_if_exception_type(( RuntimeError, - telethon.errors.rpcerrorlist.TimeoutError, + telethon.errors.rpcbaseerrors.RPCError, )) ) def upload(self, path, title):