Print more logs for git_ls_remote
e.output probably contains the root cause of git ls-remote failure. JIRA: RHELCMP-9598 JIRA: RHELCMP-9599 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
b27301641a
commit
19cb013fec
@ -292,7 +292,8 @@ def resolve_git_ref(repourl, ref):
|
||||
_, output = git_ls_remote(repourl, ref)
|
||||
except RuntimeError as e:
|
||||
raise GitUrlResolveError(
|
||||
"ref does not exist in remote repo %s with the error %s" % (repourl, e)
|
||||
"ref does not exist in remote repo %s with the error %s %s"
|
||||
% (repourl, e, e.output)
|
||||
)
|
||||
|
||||
lines = []
|
||||
|
Loading…
Reference in New Issue
Block a user