Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Retry for ConnectionError during upload. #12

Merged
merged 3 commits into from
Aug 27, 2018
Merged

Retry for ConnectionError during upload. #12

merged 3 commits into from
Aug 27, 2018

Conversation

escapewindow
Copy link
Contributor

@escapewindow escapewindow commented Aug 25, 2018

The remote_signfile function is pretty ugly and should be rewritten.
However, I believe we were failing to retry because we're in the except
block of the outer try/except, and the inner try/except didn't catch
ConnectionError. RequestException should catch both HTTPError and
ConnectionError.

Fixes mozilla-releng/signingscript#66 .

The remote_signfile function is pretty ugly and should be rewritten.
However, I believe we were failing to retry because we're in the except
block of the outer try/except, and the inner try/except didn't catch
ConnectionError. RequestException should catch both HTTPError and
ConnecitonError.

Fixes mozilla-releng/signingscript#66 .
@coveralls
Copy link

coveralls commented Aug 25, 2018

Coverage Status

Coverage remained the same at 74.044% when pulling 62debca on escapewindow:retry-connectionerror into 8d9f095 on mozilla-releng:master.

@escapewindow escapewindow merged commit 5710c47 into mozilla-releng:master Aug 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants