mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Added more descriptive error message
This commit is contained in:
parent
f1cf027308
commit
c3649023b5
@ -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)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user