Include error message when ansiballz_setup fails (#26127)

It is quite difficult to pinpoint what is wrong without it
pull/26193/head
Yujun Zhang 8 years ago committed by Sam Doran
parent 2e85272cd5
commit 1f3755f86b

@ -183,7 +183,7 @@ def ansiballz_setup(modfile, modname, interpreters):
print("*" * 35) print("*" * 35)
print("INVALID OUTPUT FROM ANSIBALLZ MODULE WRAPPER") print("INVALID OUTPUT FROM ANSIBALLZ MODULE WRAPPER")
print(out) print(out)
sys.exit(1) sys.exit(err)
debug_dir = lines[1].strip() debug_dir = lines[1].strip()
argsfile = os.path.join(debug_dir, 'args') argsfile = os.path.join(debug_dir, 'args')

Loading…
Cancel
Save