Update crates/obs/src/sink.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
houseme
2025-04-11 17:45:59 +08:00
committed by GitHub
parent 24d6c555f7
commit c3a17caa80

View File

@@ -273,7 +273,7 @@ impl FileSink {
// if the file not exists, create it
if !file_exists {
tokio::fs::create_dir_all(std::path::Path::new(&path).parent().unwrap()).await?;
tracing::debug!("the file not exists,create if. path: {:?}", path)
tracing::debug!("File does not exist, creating it. Path: {:?}", path)
}
let file = if file_exists {
// If the file exists, open it in append mode