Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

[Next Release] Enable ES Error Log in PROD Env #87

Merged
merged 3 commits into from
Sep 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/services/challengeService.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ async function getChallengeIDsFromV5 (filter, perPage, page = 1) {
docs = await getESClient().search(esQuery)
} catch (e) {
// Catch error when the ES is fresh and has no data
// logger.error(`V5 Challenge IDs try/catch ${JSON.stringify(e)}`)
logger.error(`V5 Challenge IDs try/catch ${JSON.stringify(e)}`)
docs = {
hits: {
total: 0,
Expand Down