Imagine mistaking Twitch and Twitter together, oh wait
This commit is contained in:
1 parent
b4ae7a1ae9
commit
e7da8a2d13
1 file changed
+2
-2
@@ -870,10 +870,10 @@ class Twitch:
|
|||||||
yield response
|
yield response
|
||||||
return
|
return
|
||||||
delay = next(backoff)
|
delay = next(backoff)
|
||||||
self.print(f"Twitter is down, retrying in {round(delay)} seconds...")
|
self.print(f"Twitch is down, retrying in {round(delay)} seconds...")
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
delay = next(backoff)
|
delay = next(backoff)
|
||||||
self.print(f"Cannot connect to Twitter, retrying in {round(delay)} seconds...")
|
self.print(f"Cannot connect to Twitch, retrying in {round(delay)} seconds...")
|
||||||
except aiohttp.ClientConnectionError as exc:
|
except aiohttp.ClientConnectionError as exc:
|
||||||
cause = exc
|
cause = exc
|
||||||
if delay is not None:
|
if delay is not None:
|
||||||
|
|||||||
Reference in new issue
Block a user