There was an error while loading. Please reload this page.
1 parent 3768cae commit 67641e5Copy full SHA for 67641e5
1 file changed
src/progress.rs
@@ -304,11 +304,18 @@ impl FancyState {
304
"interrupted:".red(),
305
build_message(build, true)
306
)),
307
- Termination::Failure => self.log_when_failed(&format!(
308
- "{} {}",
309
- "failed:".red().bold(),
310
- build_message(build, true)
311
- )),
+ Termination::Failure => {
+ // Show failed message, with command line if in verbose mode.
+ if self.verbose {
+ self.log_when_failed(&format!(
+ "{} {}",
312
+ "failed:".red().bold(),
313
+ build_message(build, true)
314
+ ))
315
+ } else {
316
+ self.log_when_failed(&format!("{}", "failed".red().bold()))
317
+ }
318
319
};
320
if !result.output.is_empty() {
321
if let Some(ref callback) = self.callback {
0 commit comments