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

tart pull: retry if we get URLError #947

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

edigaryev
Copy link
Collaborator

No one is going to throw Retryable anyway.

This makes the logic similar to the tart push side of things:

if error is URLError {
print("Error: \(error.localizedDescription)")
print("Attempting to re-try...")
return .retry
}

Resolves #944.

@edigaryev edigaryev requested a review from fkorotkov as a code owner November 15, 2024 20:33
@edigaryev edigaryev merged commit b4de3be into main Nov 15, 2024
7 checks passed
@edigaryev edigaryev deleted the pull-retry-if-urlerror branch November 15, 2024 22:14
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

Successfully merging this pull request may close these issues.

tart clone: The request timed out
2 participants