mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
psrp - Fix raw and script tests for connection plugin (#55357)
* psrp - Fix raw and script tests for connection plugin * Fix error propagation with raw in psrp * uncomment test
This commit is contained in:
parent
49655a452d
commit
fdf9df89f5
5 changed files with 52 additions and 22 deletions
|
@ -219,7 +219,7 @@ $($ErrorRecord.InvocationInfo.PositionMessage)
|
|||
$b64_output = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($output))
|
||||
Write-Output -InputObject $b64_output
|
||||
} else {
|
||||
Write-Output -InputObject $output
|
||||
$output
|
||||
}
|
||||
} catch {
|
||||
Write-AnsibleError -Message "internal error: failed to run exec_wrapper action $action" -ErrorRecord $_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue