Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win_powershell - respect depth for err target_object #386

Merged
merged 2 commits into from
Jul 10, 2022

Conversation

jborean93
Copy link
Collaborator

SUMMARY

The target_object stored on the output error record can be a value of any type. Ensure it goes through the Convert-OutputObject sanitizer to avoid a hang when trying to serialize an object that is deeply nested or contains circular references.

Fixes #375

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

win_powershell

@jborean93 jborean93 merged commit 877e849 into ansible-collections:main Jul 10, 2022
@jborean93 jborean93 deleted the win_pwsh-err-depth branch July 10, 2022 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant