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: "",
name: "ace"
});
} catch (e) {
console.log("--- Ace Build error ---");
console.log(e);
process.exit(0);
} catch (err) {
console.error("--- Ace Build error ---");
console.error(err.stack);
process.exit(1);
}