Revert console transport override for error/warn levels - #2713
Revert console transport override for error/warn levels#2713harshitha-cstk wants to merge 6 commits into
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
…/DX-10224-bulk-error-visibility
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Summary
Reverts the logger override in
cli-utilitiesthat forcederror/warnlevels to always reach the console (bypassingshowConsoleLogs). Console transport is now added solely based onshowConsoleLogs, restoring the original behavior.Change
packages/contentstack-utilities/src/logger/logger.ts— the console transport is pushed only whenshowConsoleLogsis true, dropping theisErrorOrWarnbypass.Context
The dropped override was the utilities-level approach to keeping failures visible in progress mode. That responsibility is instead handled at the plugin layer — see the companion bulk-operations fix (contentstack/cli-plugins#352), which surfaces failures via
catch()without changingcli-utilities.🤖 Generated with Claude Code