Pass through error message when repo not found
This commit is contained in:
parent
7933c3faed
commit
cb6acfc1dc
1 changed files with 1 additions and 1 deletions
2
git
2
git
|
@ -190,7 +190,7 @@ else:
|
|||
|
||||
# handle errors from clone or pull
|
||||
|
||||
if out.find('error') != -1:
|
||||
if out.find('error') != -1 or err.find('ERROR') != -1:
|
||||
fail_json(out=out, err=err)
|
||||
|
||||
# switch to version specified regardless of whether
|
||||
|
|
Loading…
Reference in a new issue