Catch compiler errors

nohash
Tom MacWright 14 years ago
parent 248f09cdf6
commit d12b33c298

@ -101,6 +101,7 @@ fs.readFile(input, 'utf-8', function (e, data) {
try {
require('eyes').inspect(tree.toAST());
} catch (e) {
console.log(e);
console.log(tree.toAST());
}
}

Loading…
Cancel
Save