From 33263e9ce61e828df969ec8a60913a956560708e Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 11 Dec 2017 10:34:14 +0100 Subject: [PATCH] Warn if retrying --- 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 75b67071..ca8ff561 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -424,7 +424,7 @@ class Session: try: return self._send(data) except (OSError, TimeoutError): - log.debug("Retrying {}".format(type(data))) + log.warning("Retrying {}".format(type(data))) continue else: return None