Browse Source

added ending ']'

pull/782/head
Stephen Hess 8 years ago
parent
commit
fbe0de386e
  1. 2
      controller/search.js

2
controller/search.js

@ -94,7 +94,7 @@ function setup( apiConfig, esclient, query ){
res.meta.query_type = renderedQuery.type; res.meta.query_type = renderedQuery.type;
logger.info(`[controller:search] [queryType:${renderedQuery.type}] [es_result_count:` + logger.info(`[controller:search] [queryType:${renderedQuery.type}] [es_result_count:` +
(res.data && res.data.length ? res.data.length : 0)); (res.data && res.data.length ? res.data.length : 0) + ']');
} }
logger.debug('[ES response]', docs); logger.debug('[ES response]', docs);
next(); next();

Loading…
Cancel
Save