diff --git a/telethon/network/connection/connection.py b/telethon/network/connection/connection.py index ac25fe5d..cb83b9d7 100644 --- a/telethon/network/connection/connection.py +++ b/telethon/network/connection/connection.py @@ -339,7 +339,7 @@ class Connection(abc.ABC): except InvalidBufferError as e: self._log.warning('Server response had invalid buffer: %s', e) await self._recv_queue.put((None, e)) - except Exception: + except Exception as e: self._log.exception('Unexpected exception in the receive loop') await self._recv_queue.put((None, e)) else: diff --git a/telethon/version.py b/telethon/version.py index 7fc03b31..e2cf9488 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.28.2' +__version__ = '1.28.3'