mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Merge pull request #997 from PowerShell/andschwa/improve-build
Improve error message of Start-NativeExecution
This commit is contained in:
commit
2de34defda
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user