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

Catch exception of repository clone #1798

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

yueliu1999
Copy link
Contributor

Background

Changes

When cloning the GitHub repository, it easily leads to failure of network errors.

Documentation

Add the try-exception in the clone_repository function in the git_operations.py file.

Test Plan

When any network errors occur during the cloning of the GitHub repository, the code works.

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

@richbeales richbeales merged commit 2038dff into Significant-Gravitas:master Apr 16, 2023
sindlinger pushed a commit to Orgsindlinger/Auto-GPT-WebUI that referenced this pull request Sep 25, 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

Successfully merging this pull request may close these issues.

2 participants