mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
Note why SSLError stays transient
This commit is contained in:
@@ -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,
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user