diff options
author | Yujun Zhang <zhangyujun@gmail.com> | 2017-06-29 00:45:38 +0800 |
---|---|---|
committer | Sam Doran <sdoran@ansible.com> | 2017-06-28 12:45:38 -0400 |
commit | 1f3755f86bf8603be1b7b4ea75c0aa9d683e0060 (patch) | |
tree | 2f579d40594fa23e9290e65b5ca242633384cbd3 /hacking | |
parent | 2e85272cd54ff0c9be97d73f3c2d1ec664987342 (diff) | |
download | ansible-1f3755f86bf8603be1b7b4ea75c0aa9d683e0060.tar.gz |
Include error message when ansiballz_setup fails (#26127)
It is quite difficult to pinpoint what is wrong without it
Diffstat (limited to 'hacking')
-rwxr-xr-x | hacking/test-module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/test-module b/hacking/test-module index b8ae787163..63e23c169e 100755 --- a/hacking/test-module +++ b/hacking/test-module @@ -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') |