Fix-up removing required error variable while merging

This commit is contained in:
Lonami Exo 2017-11-16 13:21:24 +01:00
parent 7f5126c341
commit 8a287c2860

View File

@ -738,7 +738,7 @@ class TelegramBareClient:
self._logger.debug(error)
need_reconnect = True
await asyncio.sleep(1, loop=self._loop)
except Exception:
except Exception as error:
# Unknown exception, pass it to the main thread
self._logger.exception(
'Unknown error on the read loop, please report.'