diff --git a/commit0/harness/save.py b/commit0/harness/save.py index b3f431d..1a10c4f 100644 --- a/commit0/harness/save.py +++ b/commit0/harness/save.py @@ -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__ = []