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

[Next Release] Refine V4 ES Search Error Log #89

Merged
merged 2 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 @@ -323,7 +323,7 @@ async function getChallengeIDsFromV4 (filter, perPage, page = 1) {
docs = await getV4ESClient().search(esQuery)
} catch (e) {
// Catch error when the ES is fresh and has no data
logger.error(e)
logger.error(`V4 Challenge IDs try/catch ${JSON.stringify(e)}`)
docs = {
hits: {
total: 0,
Expand Down