mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 00:35:10 +00:00
Add some more logs
This commit is contained in:
@@ -167,7 +167,7 @@ class Session:
|
||||
|
||||
self.is_connected.set()
|
||||
|
||||
log.debug("Session started")
|
||||
log.info("Session started")
|
||||
|
||||
async def stop(self):
|
||||
self.is_connected.clear()
|
||||
@@ -201,7 +201,7 @@ class Session:
|
||||
except Exception as e:
|
||||
log.error(e, exc_info=True)
|
||||
|
||||
log.debug("Session stopped")
|
||||
log.info("Session stopped")
|
||||
|
||||
async def restart(self):
|
||||
await self.stop()
|
||||
|
Reference in New Issue
Block a user