Improved logging
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user