Include error message when ansiballz_setup fails (#26127)
It is quite difficult to pinpoint what is wrong without it
This commit is contained in:
parent
2e85272cd5
commit
1f3755f86b
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue