diff --git a/ue4-get-latest.ps1 b/ue4-get-latest.ps1 index c4f1ad0..b1f481b 100644 --- a/ue4-get-latest.ps1 +++ b/ue4-get-latest.ps1 @@ -72,6 +72,10 @@ try { # Use Invoke-Expression so we can use a string as options Invoke-Expression "&'$PSScriptRoot/ue4-build.ps1' dev $args" + if ($LASTEXITCODE -ne 0) { + throw "Build process failed, see above" + } + Write-Output "-- Get Latest finished OK --"