Skip to content

Commit

Permalink
chore: better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
badayvedat committed Jan 23, 2024
1 parent e91b496 commit 111e663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/fal/src/fal/toolkit/utils/download_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ def _get_git_revision_hash(repo_path: Path) -> str:
).strip()
except subprocess.CalledProcessError as error:
if "not a git repository" in error.output:
print(f"Repository '{repo_path}' is not a git repository.")
return ""

print(
Expand Down

0 comments on commit 111e663

Please sign in to comment.