Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
This commit is contained in:
parent
4fd68eb47b
commit
41e8d152dc
5025 changed files with 5026 additions and 5026 deletions
|
@ -1465,7 +1465,7 @@ impl HandlerInner {
|
|||
};
|
||||
let errors = match self.deduplicated_err_count {
|
||||
0 => Cow::from(""),
|
||||
1 => Cow::from("aborting due to previous error"),
|
||||
1 => Cow::from("aborting due to 1 previous error"),
|
||||
count => Cow::from(format!("aborting due to {count} previous errors")),
|
||||
};
|
||||
if self.treat_err_as_bug() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue