Handle HTTP protocol errors in factor download

This commit is contained in:
2026-04-07 16:12:00 +08:00
parent 71912b8358
commit 2382364a46
2 changed files with 24 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ def _download_kf_zip_bytes() -> bytes:
socket.timeout,
socket.gaierror,
ssl.SSLError,
http.client.HTTPException,
http.client.IncompleteRead,
http.client.RemoteDisconnected,
) as exc: