mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Log more info in case there is an exception in get_file #37
This commit is contained in:
parent
2b33f23990
commit
aa8125d7a2
@ -2341,7 +2341,7 @@ class Client:
|
|||||||
finally:
|
finally:
|
||||||
cdn_session.stop()
|
cdn_session.stop()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(e)
|
log.error(e, exc_info=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.remove(file_name)
|
os.remove(file_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user