Skip to content

Commit

Permalink
#294 enable newrelic event it is debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lymanlai committed May 22, 2015
1 parent 3003842 commit b1aac61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/wildfire-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ var revision = require('git-rev');
// Date add-ons for Node.js
// https://www.npmjs.com/package/date-utils
require('date-utils');
//always use newrelic
require('newrelic');

if (!config.debug) {
require('newrelic');
}
// get git reverison for better tracking builds
revision.short(function(gitRevision) {

Expand Down

0 comments on commit b1aac61

Please sign in to comment.