From a61e326007cf40890d043c274c2bfb58267b2bae Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Sun, 5 Jan 2025 13:09:10 +0100 Subject: [PATCH] Emphasise we shouldn't end up here --- twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch.py b/twitch.py index d13d766..f08aeb8 100644 --- a/twitch.py +++ b/twitch.py @@ -1408,7 +1408,7 @@ class Twitch: else: return orig_response await asyncio.sleep(delay) - raise GQLException("Retry loop was broken") + raise RuntimeError("Retry loop was broken") def _merge_data(self, primary_data: JsonType, secondary_data: JsonType) -> JsonType: merged = {}