From d12b33c298e1f8ede39cfd21a4b485a8182cd0ae Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 18 Jan 2011 16:00:47 -0500 Subject: [PATCH] Catch compiler errors --- bin/messc | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/messc b/bin/messc index dacf827..d25bd06 100755 --- a/bin/messc +++ b/bin/messc @@ -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()); } }