Repository navigation
Commit cc9036c
fix(bulk-operations): surface errors on console when console logs are off
Bulk command failures were silently swallowed when log.showConsoleLogs
was disabled — handleAndLogError only reaches the console through the
winston error transport, which is silenced in that mode, so the terminal
showed nothing on failure (e.g. an invalid stack API key).
Print a user-facing error line in BaseBulkCommand.catch() when console
logs are off, reusing cliErrorHandler.classifyError so the message
matches the friendly text written to the log file. Guarded to avoid
double-printing when console logs are on.
Ref: DX-10224
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d1aaa7e commit cc9036c
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
663 | 665 | | |
664 | 666 | | |
665 | 667 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | 668 | | |
672 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
673 | 681 | | |
674 | 682 | | |
675 | 683 | | |
| |||
0 commit comments