Merge pull request #997 from PowerShell/andschwa/improve-build

Improve error message of Start-NativeExecution
This commit is contained in:
Andy Schwartzmeyer committed 2016-05-18 15:20:17 -07:00
commit 2de34defda
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