Skip to content

Commit

Permalink
raise exeption on corrupt cache also in server mode
Browse files Browse the repository at this point in the history
  • Loading branch information
M0ses committed Sep 23, 2024
1 parent e5e3488 commit 7ae7330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TarSCM/scm/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 7ae7330

Please sign in to comment.