Skip to content

Commit

Permalink
Merge pull request #994 from googlefonts/fea-warnings-warn
Browse files Browse the repository at this point in the history
Use log::warn for fea-rs warnings in fontc
  • Loading branch information
rsheeter authored Oct 3, 2024
2 parents 7395150 + 987db15 commit 51ea4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fontbe/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ impl Work<Context, AnyWorkId, Error> for FeatureCompilationWork {
fn log_fea_warnings(stage: &str, warnings: &DiagnosticSet) {
assert!(!warnings.has_errors(), "of course we checked this already");
if !warnings.is_empty() {
log::debug!(
log::warn!(
"FEA {stage} produced {} warnings:\n{}",
warnings.len(),
warnings.display()
Expand Down

0 comments on commit 51ea4f6

Please sign in to comment.