From aa8125d7a2c25095b8dbd0159f0a982c6f22fd31 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 20 Mar 2018 19:26:06 +0100 Subject: [PATCH] Log more info in case there is an exception in get_file #37 --- pyrogram/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 5a16f482..f5b47099 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -2341,7 +2341,7 @@ class Client: finally: cdn_session.stop() except Exception as e: - log.error(e) + log.error(e, exc_info=True) try: os.remove(file_name)