mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Info log device and system parameters
This commit is contained in:
parent
f50638772c
commit
b845544e63
@ -157,6 +157,9 @@ class Session:
|
|||||||
self.ping_thread.start()
|
self.ping_thread.start()
|
||||||
|
|
||||||
log.info("Session initialized: Layer {}".format(layer))
|
log.info("Session initialized: Layer {}".format(layer))
|
||||||
|
log.info("Device: {} - {}".format(self.client.device_model, self.client.app_version))
|
||||||
|
log.info("System: {} ({})".format(self.client.system_version, self.client.lang_code.upper()))
|
||||||
|
|
||||||
except AuthKeyDuplicated as e:
|
except AuthKeyDuplicated as e:
|
||||||
self.stop()
|
self.stop()
|
||||||
raise e
|
raise e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user