1.0.3 #285 #286

Merged
edraft merged 5 commits from 1.0.3 into master 2023-03-30 16:55:32 +02:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 4a0a6a4631 - Show all commits

View File

@ -39,7 +39,7 @@ class Program:
)
self.app: Application = await app_builder.build_async()
await self.app.run_async()
Console.write_line("Finished app.run_async")
Console.write_line(f"[ INFO ] [ {__name__} ]: Finished app.run_async")
async def stop(self):
if self.app is None:

View File

@ -15,4 +15,7 @@ class LevelOnMessageEvent(OnMessageABC):
@EventChecks.check_is_ready()
async def on_message(self, message: discord.Message):
self._logger.debug(__name__, f"Module {type(self)} started")
await self._level.check_level(message.author)
try:
await self._level.check_level(message.author)
except Exception as e:
self._logger.error(__name__, f"Level check by message failed", e)