Improved logging

This commit is contained in:
2021-11-16 11:41:34 +01:00
parent 16546b4d3c
commit 2176037d08
7 changed files with 38 additions and 13 deletions

View File

@@ -21,6 +21,7 @@ class Application(ApplicationABC):
async def main(self):
try:
self._logger.trace(__name__, f'Try to start {BotService}')
await self._bot.start_async()
except Exception as e:
self._logger.error(__name__, 'Start failed', e)