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

Commit c5557c4

Browse files
enable-es-error log
1 parent 82efb88 commit c5557c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ workflows:
7070
branches:
7171
only:
7272
- develop
73+
- enable-es-errorlog
7374

7475
# Production builds are exectuted only on tagged commits to the
7576
# master branch.

src/services/challengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ async function getChallengeIDsFromV5 (filter, perPage, page = 1) {
397397
docs = await getESClient().search(esQuery)
398398
} catch (e) {
399399
// Catch error when the ES is fresh and has no data
400-
// logger.error(`V5 Challenge IDs try/catch ${JSON.stringify(e)}`)
400+
logger.error(`V5 Challenge IDs try/catch ${JSON.stringify(e)}`)
401401
docs = {
402402
hits: {
403403
total: 0,

0 commit comments

Comments
 (0)