mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 09:43:15 +00:00
Pass through error message when repo not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user