2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Log more info in case there is an exception in get_file #37

This commit is contained in:
Dan 2018-03-20 19:26:06 +01:00
parent 2b33f23990
commit aa8125d7a2

View File

@ -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)