diff --git a/lib/.jshintrc b/lib/.jshintrc new file mode 100644 index 000000000..3d121028c --- /dev/null +++ b/lib/.jshintrc @@ -0,0 +1,4 @@ +{ + "extends": "../.jshintrc", + "predef": ["-console"] +} \ No newline at end of file diff --git a/lib/trace-agent.js b/lib/trace-agent.js index fbd9030a2..93b651c2d 100644 --- a/lib/trace-agent.js +++ b/lib/trace-agent.js @@ -43,7 +43,6 @@ function TraceAgent(config, logger) { this.policy = tracingPolicy.createTracePolicy(config); - console.log(config.onUncaughtException); if (config.onUncaughtException !== 'ignore') { this.unhandledException = function() { traceAgent.traceWriter.flushBuffer_(traceAgent.config_.projectId);