[naga xtask] Use log::error in preference to eprintln.

This commit is contained in:
Jim Blandy committed 2023-12-27 13:07:09 -08:00
1 parent de3df51807
commit 3e252ac2f3
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ pub(crate) fn validate(cmd: ValidateSubcommand) -> anyhow::Result<()> {
if let Err(error) = result {
all_good = false;
progress_bar.suspend(|| {
eprintln!("{:#}", error);
log::error!("{:#}", error);
});
}
progress_bar.inc(1);