Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow uploads to retry if there are curl errors #178

Open
grahampugh opened this issue Nov 18, 2024 · 0 comments
Open

Allow uploads to retry if there are curl errors #178

grahampugh opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@grahampugh
Copy link
Owner

Sometimes a curl error could be caused by an upload failure (e.g. error 55). This currently raises an error and quits, but it could be handled by the retries so that there are multiple chances for it to succeed.

This seems to be cause if curl errors in line 502:

subprocess.check_output(curl_cmd)

This should be converted to a try statement. The specific exception is subprocess.CalledProcessError. See https://pastebin.com/wwZZQgGN for an example error.

@grahampugh grahampugh self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant