Skip to content

Commit

Permalink
DOP-4549 adding logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Apr 15, 2024
1 parent f99c392 commit c77b0ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/controllers/v2/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const DisplayRepoOptions = async (event: APIGatewayEvent): Promise<APIGat
const consoleLogger = new ConsoleLogger();
const slackConnector = new SlackConnector(consoleLogger, c);

consoleLogger.info('deployRepo', 'testing display repo options');

if (!slackConnector.validateSlackRequest(event)) {
return prepResponse(401, 'text/plain', 'Signature Mismatch, Authentication Failed!');
}
Expand Down Expand Up @@ -236,7 +238,7 @@ export const DeployRepo = async (event: APIGatewayEvent): Promise<APIGatewayProx
}

const deployable = await getDeployableJobs(values, entitlement, repoBranchesRepository, docsetsRepository);

consoleLogger.info('deployRepo', 'testing Deploy Repo');
if (deployable.length > 0) {
await deployRepo(deployable, consoleLogger, jobRepository, c.get('jobsQueueUrl'));
}
Expand Down

0 comments on commit c77b0ab

Please sign in to comment.