diff --git a/Jakefile b/Jakefile index af0ddd0fed2..09b7e1efba4 100644 --- a/Jakefile +++ b/Jakefile @@ -465,14 +465,10 @@ function exec(cmd, completeHandler) { complete(); }); ex.addListener("error", function(e, status) { - console.error("Process exited with code " + status); - complete(); + fail("Process exited with code " + status); }) - try{ - ex.run(); - } catch(e) { - console.log('Exception: ' + e) - } + + ex.run(); } function cleanTestDirs() {