Improve error message of Start-NativeExecution

This commit is contained in:
Andrew Schwartzmeyer committed 2016-05-18 14:53:21 -07:00
1 parent ec45c9c8dc
commit 811f052ae9
1 file changed
+1 -1
+1 -1
View File
@@ -819,7 +819,7 @@ function script:Start-NativeExecution([scriptblock]$sb)
# point to the obsolete value
if ($LASTEXITCODE -ne 0)
{
throw "Execution failed with exit code $LASTEXITCODE"
throw "Execution of {$sb} failed with exit code $LASTEXITCODE"
}
}
finally