mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30852 from replicant0wnz/error-message-libgit
Added more descriptive error message
This commit is contained in:
commit
9a3ec9d028
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue