Skip to content

Commit 32704e2

Browse files
add logging
1 parent d92b266 commit 32704e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/ResourceService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ async function listChallengesByMember (memberId, criteria) {
472472
const esClient = await helper.getESClient()
473473
let docs
474474
try {
475+
logger.debug(`es query: ${JSON.stringify(esQuery)}`)
475476
docs = await esClient.search(esQuery)
476477
} catch (e) {
477478
// Catch error when the ES is fresh and has no data

0 commit comments

Comments
 (0)