diff --git a/lib/interpreters/basic javascript.js b/lib/interpreters/basic javascript.js index 0103631..8a84d19 100644 --- a/lib/interpreters/basic javascript.js +++ b/lib/interpreters/basic javascript.js @@ -37,7 +37,7 @@ exports.interpret = function (file, content, options) { try { var tree = parser.parse(content,false, true); } catch (ex) { - console.error("Error instrumentig file", file, ex.message); + console.error("Error instrumentig file", file, options.verbose ? ex : ex.message); var code = clientCode.formatContent(content); code.error = true; return code;