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 735727e commit 1ee3537Copy full SHA for 1ee3537
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