| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -542,7 +542,7 @@ def urls(self): | |||
| 542 | 542 | if ' Push URL:' in line: | |
| 543 | 543 | yield line.split(': ')[-1] | |
| 544 | 544 | except GitCommandError as ex: | |
| 545 | - if 'correct access rights' in str(ex): | ||
| 545 | + if any([msg in str(ex) for msg in ['correct access rights','cannot run ssh']]): | ||
| 546 | 546 | # If ssh is not setup to access this repository, see issue 694 | |
| 547 | 547 | result = Git().execute(['git','config','--get','remote.%s.url' % self.name]) | |
| 548 | 548 | yield result | |
| Back | FazBrowse Home | New Git URL |
0 commit comments