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

Commit 8c3ac2a

Browse files
add some logging
1 parent a5f5e7e commit 8c3ac2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ async function processUpdate (message) {
305305
throw new Error('Cannot close challenge without winners')
306306
}
307307
const winnerId = _.find(message.payload.winners, winner => winner.placement === 1).userId
308+
logger.info(`Will close the challenge with ID ${message.payload.legacyId}. Winner ${winnerId}!`)
308309
await closeChallenge(message.payload.legacyId, winnerId)
309310
}
310311
}

0 commit comments

Comments
 (0)