Commit 5754991
committed
fix(progress): Replace eprintln! with log::info! in CI fallback
When progress bars are disabled (e.g. in CI where stderr is not a terminal), `finish_with_duration` printed its completion message via `eprintln!`. Some CI configurations treat any stderr output as an error, causing false positives.
Use `log::info!` instead, which is suppressed at the default `Warn` log level. Users who want to see these messages can use `--log-level info`. The `> ` prefix is dropped since the log framework adds its own formatting.
Closes #3016
Closes [CLI-244](https://linear.app/getsentry/issue/CLI-244/avoid-eprintln-for-progress-bar-messages-in-ci)1 parent 44c3a91 commit 5754991
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments