error out properly if post install throws error

This commit is contained in:
cadorn 2012-10-19 09:58:22 -07:00 • committed by nightwing
commit d9c6409922

View file

@ -61,8 +61,9 @@ try {
suffix: "", suffix: "",
name: "ace" name: "ace"
}); });
} catch (e) {
console.log("--- Ace Build error ---"); } catch (err) {
console.log(e); console.error("--- Ace Build error ---");
process.exit(0); console.error(err.stack);
process.exit(1);
} }