Skip to content

Commit 92b7c97

Browse files
authored
Merge pull request #465 from topcoder-platform/hotfix/send-survey-workperiods
[DEV][HOTFIX] add more logs for sending surveys
2 parents a333608 + 0c6d720 commit 92b7c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/SurveyService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ async function sendSurveys () {
119119
collector.contacts
120120
)
121121
await sendSurveyAPI(collector.collectorId, collector.messageId)
122+
logger.debug({ component: 'SurveyService', context: 'sendSurvey', message: `Sent survey for collector "${collectorName}" details:` + JSON.stringify(collector) })
122123
for (const workPeriodId of collectors[collectorName].workPeriodIds) {
123124
try {
124125
await partiallyUpdateWorkPeriod(currentUser, workPeriodId, { sentSurvey: true })

0 commit comments

Comments
 (0)