Skip to content

Commit 334c6c6

Browse files
authored
Merge pull request #506 from Changaco/fix-crash
Fix a crash
2 parents f8cdf55 + 0638666 commit 334c6c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

github_backup/github_backup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@ def _extract_legal_url(response_body_bytes):
806806
response = json.loads(http_response.read().decode("utf-8"))
807807
break # Exit retry loop and handle the data returned
808808
except (
809+
ConnectionError,
809810
IncompleteRead,
810811
json.decoder.JSONDecodeError,
811812
TimeoutError,

0 commit comments

Comments
 (0)