Skip to content

Commit b362527

Browse files
authored
Merge pull request #2667 from contentstack/fix/DX-9314
fix: mixed logging
2 parents efeb2ef + a91d838 commit b362527

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎packages/contentstack/src/hooks/prerun/plan-guard.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ export default async function (opts: { Command?: { id?: string }; argv?: string[
5252

5353
if (!canCheckNow) {
5454
config.context.planCheckRequired = requiredFeatures;
55-
log.debug(
56-
`[plan-guard] Deferred plan check for: ${requiredFeatures.join(', ')} — credentials not resolvable at prerun`,
57-
{ module: 'plan-guard', commandId },
58-
);
5955
return;
6056
}
6157

@@ -75,7 +71,6 @@ export default async function (opts: { Command?: { id?: string }; argv?: string[
7571
for (const featureUid of requiredFeatures) {
7672
try {
7773
planStatus[featureUid] = await isFeatureEnabled(featureUid, ctx);
78-
log.debug(`[plan-guard] Feature "${featureUid}" status fetched.`, { module: 'plan-guard', commandId });
7974
} catch (error) {
8075
log.warn(`[plan-guard] Could not fetch status for "${featureUid}": ${(error as Error).message}`, {
8176
module: 'plan-guard',

0 commit comments

Comments
 (0)