changelog: report through the log instead of printing to stdout

generate_entry's status messages become log lines, and the unmet
build-dependency diagnostics travel inside the UnmetBuildDependencies
error (its Display carries the full report) instead of being printed
to stderr by the library: the caller renders both like any other
outcome.
This commit is contained in:
2026-09-18 20:44:05 +02:00
parent 54cb04ba27
commit 0421a91e01
3 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -890,7 +890,11 @@ pub struct UnmetBuildDependencies(pub UnmetReport);
impl std::fmt::Display for UnmetBuildDependencies {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "build dependencies/conflicts unsatisfied; aborting")
write!(
f,
"build dependencies/conflicts unsatisfied; aborting\n{}",
self.0.message()
)
}
}