From 7ae733074cd24644b908b009979dc375b2f7fca9 Mon Sep 17 00:00:00 2001 From: Frank Schreiner Date: Mon, 23 Sep 2024 16:59:21 +0200 Subject: [PATCH] raise exeption on corrupt cache also in server mode --- TarSCM/scm/git.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TarSCM/scm/git.py b/TarSCM/scm/git.py index 7eb78d1d..b0818845 100644 --- a/TarSCM/scm/git.py +++ b/TarSCM/scm/git.py @@ -271,7 +271,8 @@ def update_cache(self): self.fetch_upstream_scm() else: logging.info("Please fix corrupt cache directory!") - raise exc + + raise exc def detect_version(self, args): """