mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update exception message
This commit is contained in:
parent
916be08116
commit
235dde2251
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ class Session:
|
|||
result = self.results.pop(msg_id).value
|
||||
|
||||
if result is None:
|
||||
raise TimeoutError("Response timed out")
|
||||
raise TimeoutError("Request timed out")
|
||||
|
||||
if isinstance(result, raw.types.RpcError):
|
||||
if isinstance(data, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)):
|
||||
|
|
|
|||
Loading…
Reference in a new issue