Catch compiler errors

This commit is contained in:
Tom MacWright 2011-01-18 16:00:47 -05:00
parent 248f09cdf6
commit d12b33c298

View File

@ -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());
}
}