diff --git a/aioclock/task.py b/aioclock/task.py index d9da650..e2c9a37 100644 --- a/aioclock/task.py +++ b/aioclock/task.py @@ -15,7 +15,7 @@ async def run(self): try: next_trigger = await self.trigger.get_waiting_time_till_next_trigger() if next_trigger: - logger.info(f"Triggering next task in {next_trigger}") + logger.info(f"Triggering next task {self.func.__name__} in {next_trigger}") await self.trigger.trigger_next() logger.debug(f"Running task {self.func.__name__}") await self.func()