mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 16:24:15 +03:00
Fix RPC errors being ignored due to modifying the wrong attribute
This commit is contained in:
parent
83f3f66113
commit
db6fd4bdc2
|
@ -335,7 +335,7 @@ class MtProtoSender:
|
||||||
self._send_acknowledges()
|
self._send_acknowledges()
|
||||||
|
|
||||||
if request:
|
if request:
|
||||||
request.error = error
|
request.rpc_error = error
|
||||||
request.confirm_received.set()
|
request.confirm_received.set()
|
||||||
# else TODO Where should this error be reported?
|
# else TODO Where should this error be reported?
|
||||||
# Read may be async. Can an error not-belong to a request?
|
# Read may be async. Can an error not-belong to a request?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user