From 36ad0ac8fb8ef15a2d9f78c70624e20b15f8b7cb Mon Sep 17 00:00:00 2001 From: Matt Loring Date: Tue, 19 Apr 2016 06:43:05 -0700 Subject: [PATCH] Remove log of uncaughtException config --- lib/.jshintrc | 4 ++++ lib/trace-agent.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 lib/.jshintrc 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);