Skip to content

Commit

Permalink
Remove log of uncaughtException config
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Loring committed Apr 19, 2016
1 parent 6826892 commit 36ad0ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "../.jshintrc",
"predef": ["-console"]
}
1 change: 0 additions & 1 deletion lib/trace-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 36ad0ac

Please sign in to comment.