Omit newlines between errors

This commit is contained in:
Joscha 2022-11-05 12:12:16 +01:00
parent ffcae898f3
commit d437341dab
2 changed files with 6 additions and 2 deletions

View file

@ -81,13 +81,14 @@ impl Drop for LoggerGuard {
if !error_encountered {
eprintln!();
eprintln!("The following errors occurred while cove was running:");
eprintln!();
}
error_encountered = true;
eprintln!("{}", msg.content);
eprintln!();
}
}
if error_encountered {
eprintln!();
}
}
}