This commit is contained in:
2025-01-09 20:18:42 +01:00
parent f906de45fe
commit 01dfb2d4a2

View File

@@ -131,8 +131,11 @@ class TwitchService:
async def start(cls):
logger.info("Starting Twitch service...")
try:
twith = await authorize(auto_refresh_auth=True)
await cls(twith).run()
except Exception as e:
logger.error("Twitch service failed", exc_info=e)
logger.info("Twitch service stopped")