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

Commit e7431d8

Browse files
committed
Better logging
1 parent a08dfe5 commit e7431d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/topcoder-api-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function createChallenge(challenge) {
141141
}, challenge)
142142
});
143143
try {
144-
logger.debug(`Challenge body: ${challengeBody}`);
144+
logger.debug(`Challenge body: ${JSON.stringify(challengeBody, null, 2)}`);
145145
const challengeResponse = await new Promise((resolve, reject) => {
146146
challengesApiInstance.saveDraftContest(challengeBody, (err, res) => {
147147
if (err) {

0 commit comments

Comments
 (0)