From fcc050966a7ebbdc7da446911c1100e1118db776 Mon Sep 17 00:00:00 2001 From: Ivan Kropotkin Date: Mon, 11 Dec 2023 16:21:21 +0100 Subject: [PATCH] Update fork2repos.py --- workflow-files/fork2repos.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"])