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

Commit 97f09a5

Browse files
add logging
1 parent b227e80 commit 97f09a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/ProcessorService.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ async function syncChallengePhases (legacyId, v5Phases) {
3838
? constants.PhaseStatusTypes.Open
3939
: (new Date().getTime() <= new Date(v5Equivalent.scheduledStartDate).getTime() ? constants.PhaseStatusTypes.Scheduled : constants.PhaseStatusTypes.Closed)
4040
// update phase
41+
logger.debug(`Will update phase ${phase.project_phase_id}/${v5Equivalent.name} to duration ${v5Equivalent.duration * 1000} milli`)
4142
await timelineService.updatePhase(
4243
phase.project_phase_id,
4344
legacyId,
@@ -615,6 +616,8 @@ async function processUpdate (message) {
615616
logger.info(`GroupIDs Found in Informix: ${JSON.stringify(v4GroupIds)}`)
616617

617618
const saveDraftContestDTO = await parsePayload(message.payload, m2mToken, false, v4GroupIds)
619+
logger.debug('Result from parsePayload:')
620+
logger.debug(JSON.stringify(saveDraftContestDTO, null, 2))
618621
// logger.debug('Parsed Payload', saveDraftContestDTO)
619622
try {
620623
try {

0 commit comments

Comments
 (0)