Pass-through for SSL cert verification errors
This commit is contained in:
1 parent
6e0b4613fc
commit
efe601aeb1
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user