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

Commit cf946f4

Browse files
committed
Increasing logging
1 parent c27a936 commit cf946f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/controllers/syncController.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,18 @@ async function queueChallenges (filter) {
7777
// get active challenges from v4
7878
const { ids: v4IdArray } = await syncService.getV4ChallengeIds(filter)
7979
// console.log('v4', v4IdArray)
80+
logger.debug(`v4 Array ${v4IdArray}`)
8081
// get active challenges from v5
8182
const { ids: v5IdArray } = await syncService.getV5LegacyChallengeIds(filter)
82-
// console.log('v5', v5IdArray)
83+
logger.debug(`v5 Array ${v5IdArray}`)
8384

8485
// combine arrays, return unique
8586
const combinedArray = union(v4IdArray, v5IdArray)
8687
const totalChallengesCount = combinedArray.length
8788
// console.log('union length', combinedArray.length)
8889

8990
// logger.debug(`Sync :: Total to Sync ${totalChallengesCount}`)
90-
// logger.debug(`Combined Array ${combinedArray}`)
91+
logger.debug(`Combined Array ${combinedArray}`)
9192

9293
while (running) {
9394
if ((page * perPage) > combinedArray.length) {

0 commit comments

Comments
 (0)