mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-24 18:33:44 +03:00
Declare missing exception variable (#4087)
This commit is contained in:
parent
acec8a776f
commit
d419979406
|
@ -339,7 +339,7 @@ class Connection(abc.ABC):
|
||||||
except InvalidBufferError as e:
|
except InvalidBufferError as e:
|
||||||
self._log.warning('Server response had invalid buffer: %s', e)
|
self._log.warning('Server response had invalid buffer: %s', e)
|
||||||
await self._recv_queue.put((None, e))
|
await self._recv_queue.put((None, e))
|
||||||
except Exception:
|
except Exception as e:
|
||||||
self._log.exception('Unexpected exception in the receive loop')
|
self._log.exception('Unexpected exception in the receive loop')
|
||||||
await self._recv_queue.put((None, e))
|
await self._recv_queue.put((None, e))
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Versions should comply with PEP440.
|
# Versions should comply with PEP440.
|
||||||
# This line is parsed in setup.py:
|
# This line is parsed in setup.py:
|
||||||
__version__ = '1.28.2'
|
__version__ = '1.28.3'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user