Skip to content

Commit e79cdf7

Browse files
authored
Merge pull request #70 from commit-0/fix/save
skip failed save
2 parents c42ed86 + 65716b3 commit e79cdf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commit0/harness/save.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def main(
7575
origin.push(refspec=f"{branch}:{branch}")
7676
logger.info(f"Pushed to {github_repo_url} on branch {branch}")
7777
except Exception as e:
78-
raise Exception(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")
78+
logger.error(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")
79+
continue
80+
# raise Exception(f"Push {branch} to {owner}/{repo_name} fails.\n{str(e)}")
7981

8082

8183
__all__ = []

0 commit comments

Comments
 (0)