From a29e33a3f9e134f47a154f3f552775b8b194675a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 9 Nov 2022 20:07:37 +0100 Subject: [PATCH] Readded debug log to level seeder #26 --- kdb-bot/src/modules/level/level_seeder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kdb-bot/src/modules/level/level_seeder.py b/kdb-bot/src/modules/level/level_seeder.py index 7f203d3c9c..8e6eb9e743 100644 --- a/kdb-bot/src/modules/level/level_seeder.py +++ b/kdb-bot/src/modules/level/level_seeder.py @@ -35,6 +35,7 @@ class LevelSeeder(DataSeederABC): levels = self._levels.find_levels_by_server_id(server.server_id) if levels is None or levels.where(lambda l: l.name == level.name).first_or_default() is None: self._levels.add_level(level) + self._logger.debug(__name__, f'Saved level {level.name}') except discord.errors.Forbidden as e: self._logger.error(__name__, f'Creating level failed', e) level.permissions = 0