diff --git a/src/domain/LegacyChallenge.ts b/src/domain/LegacyChallenge.ts index 984453f..fbdf4f7 100644 --- a/src/domain/LegacyChallenge.ts +++ b/src/domain/LegacyChallenge.ts @@ -882,7 +882,8 @@ class LegacyChallengeDomain { }); if (closestMatch == null) { - console.log("Corresponding Legacy Phase not found", phase, "Create new phase"); + console.log("Corresponding Legacy Phase not found - Create new phase"); + console.log(JSON.stringify(phase)); if (hasWinningSubmission) { console.log("Challenge already has a winning submission. Skipping phase creation"); continue; @@ -910,7 +911,9 @@ class LegacyChallengeDomain { _.remove(legacyPhasesCopy, (p) => p.projectPhaseId === closestMatch?.projectPhaseId); const legacyPhase = closestMatch as LegacyChallengePhase; - console.log("Corresponding Legacy Phase found", phase, legacyPhase); + console.log("Corresponding Legacy Phase found"); + console.log(JSON.stringify(phase)); + console.log(JSON.stringify(legacyPhase)); if (phase.phaseTypeId === PhaseTypeIds.IterativeReview && phase.phaseStatusId === PhaseStatusIds.Closed) { if (legacyPhase.phaseStatusId != PhaseStatusIds.Closed) { hasWinningSubmission = await this.updateSubmissionScore(