We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149475e commit 8377622Copy full SHA for 8377622
powershell-adapter/psDscAdapter/powershell.resource.ps1
@@ -157,8 +157,7 @@ switch ($Operation) {
157
# check if all the desired modules are in the cache
158
$moduleInput | ForEach-Object {
159
if ($dscResourceCache.type -notcontains $_) {
160
- $trace = @{'Debug' = ('ERROR: DSC resource {0} module not found.' -f $_)} | ConvertTo-Json -Compress
161
- $host.ui.WriteErrorLine($trace)
+ ('ERROR: DSC resource {0} module not found.' -f $_) | Write-DscTrace
162
exit 1
163
}
164
0 commit comments