Skip to content

Commit 9861056

Browse files
committed
fix: print wav decoder errors to stdout
1 parent 54bb434 commit 9861056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/decoder/wav.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ where
9797
#[cfg(feature = "tracing")]
9898
tracing::error!("Unsupported WAV float bit depth: {}", bits);
9999
#[cfg(not(feature = "tracing"))]
100-
println!("Unsupported WAV float bit depth: {}", bits);
100+
eprintln!("Unsupported WAV float bit depth: {}", bits);
101101
None
102102
}
103103
}
@@ -136,7 +136,7 @@ where
136136
#[cfg(feature = "tracing")]
137137
tracing::error!("Unsupported WAV integer bit depth: {}", bits);
138138
#[cfg(not(feature = "tracing"))]
139-
println!("Unsupported WAV integer bit depth: {}", bits);
139+
eprintln!("Unsupported WAV integer bit depth: {}", bits);
140140
None
141141
}
142142
}

0 commit comments

Comments
 (0)