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

Commit 44c876e

Browse files
committed
Additional debugging
1 parent 22b7254 commit 44c876e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

services/IssueService.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,12 @@ async function handleIssueClose(event, issue) { // eslint-disable-line
508508
await topcoderApiHelper.updateChallenge(dbIssue.challengeUUID, updateBody);
509509

510510
} else {
511-
logger.debugWithContext('Copilot is already set or the project create copilot payments option is disabled, so skipping', event, issue);
511+
if(copilotAlreadySet){
512+
logger.debugWithContext('Copilot is already set, so skipping', event, issue);
513+
}
514+
if(!createCopilotPayments){
515+
logger.debugWithContext('Create copilot payments is unchecked on the Topcoder-X project setup, so skipping', event, issue);
516+
}
512517
}
513518

514519
logger.debugWithContext(`Getting the topcoder member ID for member name: ${assigneeMember.topcoderUsername}`, event, issue);

0 commit comments

Comments
 (0)