Skip to content

Commit

Permalink
feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Oct 31, 2023
1 parent 3869c4f commit 66c7485
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/controllers/v1/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ export const getDeployableJobs = async (
// e.g. 10gen/docs-monorepo/cloud-docs/master => (owner/monorepo/repoDirectory/branch)
[repoOwner, repoName, monorepoDir, branchName] = splitValues;
} else {
throw Error('Selected entitlement value is configured incorrectly. Check user entitlements!');
throw Error(
'Selected entitlement value is configured incorrectly. Check user entitlements!' +
` ${process.env.FEATURE_FLAG_MONOREPO_PATH}`
);
}

const hashOption = values?.hash_option ?? null;
Expand Down

0 comments on commit 66c7485

Please sign in to comment.