mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-20 17:11:59 +03:00
Fix missing exception
This commit is contained in:
parent
acec8a776f
commit
418566ce1c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user