Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: catch exception when checking default branch #18

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

g-linville
Copy link
Member

I think I finally figured out what was broken here. I believe octokit throws an exception when it gets a 4XX back from GitHub when we check the default branch name. We should just ignore it and move on if this happens.

Signed-off-by: Grant Linville <grant@acorn.io>
@g-linville g-linville merged commit 1599adb into gptscript-ai:main Aug 21, 2024
@g-linville g-linville deleted the catch-branch-exception branch August 21, 2024 17:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants