Skip to content

Commit d66fbfa

Browse files
Add some logging to debug the sorting issue
1 parent 0af7a24 commit d66fbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ async function searchChallenges (currentUser, criteria) {
465465
docs = await esClient.search(esQuery)
466466
} catch (e) {
467467
// Catch error when the ES is fresh and has no data
468-
// logger.error(`Query Error from ES ${JSON.stringify(e)}`)
468+
logger.error(`Query Error from ES ${JSON.stringify(e)}`)
469469
docs = {
470470
hits: {
471471
total: 0,

0 commit comments

Comments
 (0)