Note why SSLError stays transient

This commit is contained in:
J. Nick Koston
2026-08-20 17:22:04 -05:00
parent ead8653e98
commit 7f5f1ece98
+2
View File
@@ -73,6 +73,8 @@ def is_transient_download_error(e: Exception) -> bool:
e
):
return False
# SSLError (a ConnectionError subclass) stays transient on purpose: it
# also covers mid-handshake connection drops, not just bad certificates.
return isinstance(
e,
(