From c3649023b5beb25d7ebf49115feee0dc0e7e5b50 Mon Sep 17 00:00:00 2001 From: "Glenn E. Bailey III" Date: Wed, 3 Feb 2016 07:31:51 +0000 Subject: [PATCH] Added more descriptive error message --- salt/utils/gitfs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/utils/gitfs.py b/salt/utils/gitfs.py index 10c656230662..fa1f5a7f8f4b 100644 --- a/salt/utils/gitfs.py +++ b/salt/utils/gitfs.py @@ -1023,6 +1023,7 @@ def fetch(self): 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) )