Browse code

Windows: make.ps1 Throw exception on failure

Signed-off-by: John Howard <jhoward@microsoft.com>
(cherry picked from commit 8c22a00b77043db50a1b4837a66dfb27dab3f070)
Signed-off-by: Victor Vieux <vieux@docker.com>

John Howard authored on 2016/12/06 02:22:42
Showing 1 changed files
... ...
@@ -394,6 +394,8 @@ Catch [Exception] {
394 394
     Write-Host -ForegroundColor Red  " \___  /  (____  /__`|____/\___  `>____ `| "
395 395
     Write-Host -ForegroundColor Red  "     \/        \/             \/     \/ "
396 396
     Write-Host
397
+
398
+    Throw $_
397 399
 }
398 400
 Finally {
399 401
     if ($global:pushed) { Pop-Location }