This commit is contained in:
2024-11-17 23:16:27 +01:00
parent 1d780cc7e5
commit 9969a3fc30

View File

@@ -44,6 +44,8 @@ class TwitchService:
await eventsub.listen_stream_online(str(streamer.twitch.id), self.on_stream_online) await eventsub.listen_stream_online(str(streamer.twitch.id), self.on_stream_online)
else: else:
raise ValueError("Unknown method") raise ValueError("Unknown method")
return
except Exception as e: except Exception as e:
if retry <= 0: if retry <= 0:
raise e raise e