From 36f877d2efcc143d0c7b3b14bdd2e40510a9c2ac Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 16 Oct 2023 09:00:37 +0200 Subject: [PATCH] Update update_script.py --- update_script.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_script.py b/update_script.py index b29d4376..b78ee44e 100644 --- a/update_script.py +++ b/update_script.py @@ -19,8 +19,9 @@ def run_git_pull(): for submodule in repo.submodules: submodule_repo = submodule.module() submodule_repo.git.checkout('main') - except: + except Exception as ex: print("Couldn't update submodules") + print(ex) return True except git.GitCommandError as e: print(f"Error during git pull: {e}")