From 235dde2251a28df7149795563184c8920f0ca9d5 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 26 Dec 2022 20:11:58 +0100 Subject: [PATCH] Update exception message --- pyrogram/session/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index 2a22c2bd..3899aa52 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -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)):