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

This commit is contained in:
Ivan Kravets committed 2021-09-13 13:31:53 +03:00
1 parent d10cbb2823
commit 775357dd94
1 file changed
+1 -1
+1 -1
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