mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-22 13:59:46 +03:00
Fix-up removing required error variable while merging
This commit is contained in:
parent
7f5126c341
commit
8a287c2860
|
@ -738,7 +738,7 @@ class TelegramBareClient:
|
||||||
self._logger.debug(error)
|
self._logger.debug(error)
|
||||||
need_reconnect = True
|
need_reconnect = True
|
||||||
await asyncio.sleep(1, loop=self._loop)
|
await asyncio.sleep(1, loop=self._loop)
|
||||||
except Exception:
|
except Exception as error:
|
||||||
# Unknown exception, pass it to the main thread
|
# Unknown exception, pass it to the main thread
|
||||||
self._logger.exception(
|
self._logger.exception(
|
||||||
'Unknown error on the read loop, please report.'
|
'Unknown error on the read loop, please report.'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user