Better error handling if git is not installed // Resolve #4013

This commit is contained in:
Ivan Kravets
2021-09-13 13:31:53 +03:00
parent d10cbb2823
commit 775357dd94

View File

@ -150,7 +150,7 @@ class GitClient(VCSClientBase):
if path:
proc.append_env_path("PATH", path)
return True
except subprocess.CalledProcessError:
except (subprocess.CalledProcessError, FileNotFoundError):
pass
return False