mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 22:35:36 +00:00
Update exception message
This commit is contained in:
@@ -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)):
|
||||
|
Reference in New Issue
Block a user