diff --git a/workflow-files/fork2repos.py b/workflow-files/fork2repos.py index 6d5b690..241ab71 100644 --- a/workflow-files/fork2repos.py +++ b/workflow-files/fork2repos.py @@ -101,8 +101,9 @@ def sync_repo(repo, br, bot_token): cmd(git["-C", repo_path, "add", "--all"]) try: cmd(git["-C", repo_path, "commit", "-m", COMMIT_MESSAGE]) - except Exception: - # nothing to commit + except Exception as e: + # nothing to commit (?) + print(e) return cmd(git["-C", repo_path, "push"])