diff --git a/src/modules/stream_notifications/twitch/webhook.py b/src/modules/stream_notifications/twitch/webhook.py index ec211a0..54f3eda 100644 --- a/src/modules/stream_notifications/twitch/webhook.py +++ b/src/modules/stream_notifications/twitch/webhook.py @@ -152,6 +152,7 @@ class TwitchService: await self._check_token() finally: + logger.info("Twitch service stopping...") await self.stop(eventsub) @classmethod @@ -161,6 +162,8 @@ class TwitchService: twith = await authorize(auto_refresh_auth=True) await cls(twith).run() + logger.info("Twitch service stopped") + async def start_twitch_service() -> NoReturn: await TwitchService.start()