mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Revert "ios_mods - added stdout to exception output. Removed to_lines()" (#5663)
This commit is contained in:
parent
509846e6d6
commit
7079fe41be
2 changed files with 9 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue