Skip to content

Commit

Permalink
reduced 2 debug lines to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
trescube committed Jul 27, 2017
1 parent 32772ad commit e19c8d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions service.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ module.exports = function setup(serviceConfig) {
if (do_not_track) {
headers.dnt = '1';
url_for_logging = serviceConfig.getBaseUrl();
logger.debug(`${serviceConfig.getName()}: ${url_for_logging}`);

} else {
url_for_logging = synthesizeUrl(serviceConfig, req, res);
logger.debug(`${serviceConfig.getName()}: ${url_for_logging}`);

}

logger.debug(`${serviceConfig.getName()}: ${url_for_logging}`);

request
.get(serviceConfig.getUrl(req))
.set(headers)
Expand Down

0 comments on commit e19c8d1

Please sign in to comment.