From 6f2da5f27348b22bea5eeb5f04453d9103ed6b3d Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Thu, 23 May 2024 17:03:24 -0400 Subject: [PATCH] DOP-4599 logging --- api/controllers/v1/slack.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/controllers/v1/slack.ts b/api/controllers/v1/slack.ts index 3b2ba2963..113930d3f 100644 --- a/api/controllers/v1/slack.ts +++ b/api/controllers/v1/slack.ts @@ -110,6 +110,7 @@ export const getDeployableJobs = async ( if (splitValues.length === 3) { // e.g. mongodb/docs-realm/master => (owner/repo/branch) [repoOwner, repoName, branchName] = splitValues; + console.log('repoOwner: ', repoOwner, ' repoName:', repoName, 'branchName: ', branchName); } else if (splitValues.length === 4 && process.env.FEATURE_FLAG_MONOREPO_PATH === 'true') { // e.g. 10gen/docs-monorepo/cloud-docs/master => (owner/monorepo/repoDirectory/branch) [repoOwner, repoName, directory, branchName] = splitValues; @@ -124,6 +125,7 @@ export const getDeployableJobs = async ( const repoInfo = await docsetsRepository.getRepo(repoName, directory); const non_versioned = repoInfo.branches.length === 1; + console.log(repoName, branchName, repoInfo.project); const branchObject = await repoBranchesRepository.getRepoBranchAliases(repoName, branchName, repoInfo.project); console.log(JSON.stringify(branchObject)); if (!branchObject?.aliasObject) continue;