Re-raise unhandled errors that occur during update handling

This should help the situation in #3870.
This commit is contained in:
Lonami Exo
2022-09-21 12:13:21 +02:00
parent a83fe46baf
commit 49bdb762c9
2 changed files with 11 additions and 2 deletions

View File

@@ -386,6 +386,7 @@ class TelegramBaseClient(abc.ABC):
self._borrowed_senders = {}
self._borrow_sender_lock = asyncio.Lock()
self._updates_error = None
self._updates_handle = None
self._keepalive_handle = None
self._last_request = time.time()