Revert "ios_mods - added stdout to exception output. Removed to_lines()" (#5663)

This commit is contained in:
Peter Sprygada 2016-11-18 09:56:39 -05:00 committed by Matt Clay
commit 7079fe41be
2 changed files with 9 additions and 4 deletions

View file

@ -391,7 +391,7 @@ def main():
except NetworkError:
exc = get_exception()
module.disconnect()
module.fail_json(msg=str(exc), stdout=exc.kwargs.get('stdout'))
module.fail_json(msg=str(exc))
module.disconnect()
module.exit_json(**result)