Merge pull request #30852 from replicant0wnz/error-message-libgit

Added more descriptive error message
This commit is contained in:
Mike Place 2016-02-03 09:30:15 -07:00
commit 9a3ec9d028

View file

@ -1027,6 +1027,7 @@ class Pygit2(GitProvider):
and isinstance(self.credentials, pygit2.Keypair):
log.error(
'Unable to fetch SSH-based {0} remote \'{1}\'. '
'You may need to add ssh:// to the repo string or '
'libgit2 must be compiled with libssh2 to support '
'SSH authentication.'.format(self.role, self.id)
)