Skip to content

Commit 4989471

Browse files
committed
Bug 1885155 - fetch-content: retry downloads on size or checksum mismatch. r=releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D205244
1 parent 86ee179 commit 4989471

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/taskgraph/run-task/fetch-content

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ def download_to_path(url, path, sha256=None, size=None, headers=None):
272272
fh.write(chunk)
273273

274274
return
275-
except IntegrityError:
276-
raise
277275
except Exception as e:
278276
log("Download failed: {}".format(e))
279277
continue
@@ -293,8 +291,6 @@ def download_to_memory(url, sha256=None, size=None):
293291
data += chunk
294292

295293
return data
296-
except IntegrityError:
297-
raise
298294
except Exception as e:
299295
log("Download failed: {}".format(e))
300296
continue

0 commit comments

Comments
 (0)