mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24:51 +00:00
Add some more logs
This commit is contained in:
parent
6da15b266d
commit
f983baf5cd
1 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ class Session:
|
||||||
|
|
||||||
self.is_connected.set()
|
self.is_connected.set()
|
||||||
|
|
||||||
log.debug("Session started")
|
log.info("Session started")
|
||||||
|
|
||||||
async def stop(self):
|
async def stop(self):
|
||||||
self.is_connected.clear()
|
self.is_connected.clear()
|
||||||
|
|
@ -201,7 +201,7 @@ class Session:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(e, exc_info=True)
|
log.error(e, exc_info=True)
|
||||||
|
|
||||||
log.debug("Session stopped")
|
log.info("Session stopped")
|
||||||
|
|
||||||
async def restart(self):
|
async def restart(self):
|
||||||
await self.stop()
|
await self.stop()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue