Added more descriptive error message

This commit is contained in:
Glenn E. Bailey III 2016-02-03 07:31:51 +00:00
parent f1cf027308
commit c3649023b5

View File

@ -1023,6 +1023,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)
)