mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Include error message when ansiballz_setup fails (#26127)
It is quite difficult to pinpoint what is wrong without it
This commit is contained in:
@@ -183,7 +183,7 @@ def ansiballz_setup(modfile, modname, interpreters):
|
||||
print("*" * 35)
|
||||
print("INVALID OUTPUT FROM ANSIBALLZ MODULE WRAPPER")
|
||||
print(out)
|
||||
sys.exit(1)
|
||||
sys.exit(err)
|
||||
debug_dir = lines[1].strip()
|
||||
|
||||
argsfile = os.path.join(debug_dir, 'args')
|
||||
|
||||
Reference in New Issue
Block a user