Browse Source

removed debug

pull/782/head
Stephen Hess 8 years ago
parent
commit
5be3765ece
  1. 2
      sanitizer/search_fallback.js

2
sanitizer/search_fallback.js

@ -19,7 +19,7 @@ module.exports.middleware = function( req, res, next ){
// log the query that caused a fallback since libpostal+new-queries didn't return anything // log the query that caused a fallback since libpostal+new-queries didn't return anything
if (req.path === '/v1/search') { if (req.path === '/v1/search') {
var queryText = logging.isDNT(req) ? '[text removed]' : req.clean.text; var queryText = logging.isDNT(req) ? '[text removed]' : req.clean.text;
logger.info(queryText); // logger.info(queryText);
} }
sanitize( req, function( err, clean ){ sanitize( req, function( err, clean ){

Loading…
Cancel
Save