mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #628 from pas256/devel
Pass through error message when repo not found
This commit is contained in:
commit
ca21423c71
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ else:
|
||||||
|
|
||||||
# handle errors from clone or pull
|
# 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)
|
fail_json(out=out, err=err)
|
||||||
|
|
||||||
# switch to version specified regardless of whether
|
# switch to version specified regardless of whether
|
||||||
|
|
Loading…
Reference in a new issue