Skip to content

Commit

Permalink
Merge pull request #70 from commit-0/fix/save
Browse files Browse the repository at this point in the history
skip failed save
  • Loading branch information
wenting-zhao authored Sep 28, 2024
2 parents c42ed86 + 65716b3 commit e79cdf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commit0/harness/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def main(
origin.push(refspec=f"{branch}:{branch}")
logger.info(f"Pushed to {github_repo_url} on branch {branch}")
except Exception as e:
raise Exception(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")
logger.error(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")
continue
# raise Exception(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")


__all__ = []

0 comments on commit e79cdf7

Please sign in to comment.