Pass-through for SSL cert verification errors

This commit is contained in:
DevilXD committed 2023-12-26 21:00:57 +01:00
1 parent 6e0b4613fc
commit efe601aeb1
1 file changed
+3
+3
View File
@@ -1502,6 +1502,9 @@ class Twitch:
yield response
return
self.print(_("error", "site_down").format(seconds=round(delay)))
except aiohttp.ClientConnectorCertificateError: # type: ignore[unused-ignore]
# for a case where SSL verification fails
raise
except (aiohttp.ClientConnectionError, asyncio.TimeoutError):
# just so that quick retries that often happen, aren't shown
if backoff.steps > 1: